Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Manage or Update Configuration Settings

SUMMARY You can manage configuration settings at the template level, site level, and device level.

Manage Templates Settings

The mist portal provides you options to modify, clone, export, or delete a template. If you modify a template, configurations of all the switches managed by that template are modified. You can use the Export option to download the template settings in JSON format. You can store the JSON file in your local machine and use it to quickly create new templates, using the Import option on the template creation page.

To modify a template:

  1. Click Organization > Switch Templates.
  2. Click the template you want to modify. The template opens.
  3. Modify the settings. For field descriptions and additional information, refer to Create a Switch Configuration Template.
  4. After modifying the template settings, click Save.

To clone a template:

  1. Click Organization > Switch Templates.

  2. Click the template you want to clone. The template opens.

  3. Click More > Clone.

  4. Enter a template name and then click Clone. A new template, based on the selected template, is created.

To export a template:

  1. Click Organization > Switch Templates.

  2. Click the template you want to export. The template opens.

  3. Click More > Export. The template is downloaded in a JSON file.

To delete a template:

  1. Click Organization > Switch Templates.

  2. Click the template you want to delete. The template opens.

  3. Click Delete Template on the top right.

  4. On the Confirm Delete window, click Delete. The deleted template is removed from the template list and from all the sites to which it was assigned.

Update Switch Configuration Settings at the Site Level

After applying a template to a site, you can:

  • Customize or edit the settings applied to a particular site, if required. You can also replace or unlink a template from the site configuration page.

  • Configure additional switch-specific settings from a switch page. The switch-specific settings include a switch name, role, management interface (out of band), and an IRB interface.

To edit the site-level switch configuration settings:

  1. Click Site > Switch Configuration.
  2. Click a site from the list to open it.
  3. If you want to replace the entire template, select the desired template from the Configuration Template drop-down list. If you select the value (none), the existing template gets unlinked from the site.
  4. To edit specific template settings of the site:
    1. Select the Override Configuration Template in relevant configuration tile.
    2. Edit the settings and then click Save. The changes are immediately applied to the switches in the site. For more information, see Create a Switch Configuration Template.

Add or Delete a CLI Configuration

The CLI command options on the switch configuration pages in the Juniper Mist™ portal let you configure features that the predefined drop-down lists and text fields on the Mist portal do not support.

You can add a CLI configuration to a switch by using the set command through the Mist portal. Example: set system ntp server 192.168.3.65.

Similarly, you can remove a CLI configuration from a switch by using the delete command through the Mist portal. Example: delete system ntp server 192.168.3.65.

To add or delete a CLI configuration:

  1. Click Switches to go to the Switches page.
  2. Click your switch from the list to open the switch configuration page.
  3. Navigate to the relevant CLI commands box (Additional CLI commands).
    You can also make CLI changes in the Site/Template CLI Commands and Rule-based CLI Commands boxes available through the switch templates (Organization > Switch Templates).
  4. To add a CLI configuration, enter the set command. For example, set system ntp server 192.168.3.65.
  5. To remove a configuration, replace set with delete in the command. For example, delete system ntp server 192.168.3.65.

The following image shows the delete operation.

When you save the delete commands, the following operations take place:

  • Mist sends the delete commands to the switch.

  • The Switch Insights page on the Mist portal generates a Config Changed by User event, with a response UI_COMMIT_COMPLETED. You can access Switch Insights from Switch Details.

  • Mist deletes the CLI commands from the switch. Later, if required, you can remove these commands from the CLI commands box on the Mist portal.

  • Mist updates the delete commands in the following API call:

Just selecting a few commands from any CLI command box on the Mist portal and hitting the Backspace or Delete button does not remove the commands from the switch. It removes the commands only from the API, which contains the current switch configuration that is present on the Mist portal.

Deleting the CLI commands only from the GUI also generates a Config Changed by User event on the Switch Insights page. However, this event doesn't show the UI_COMMIT_COMPLETED response. The changes are made only on the Mist portal GUI, not on the switch.

We don't recommend logging in to the switch CLI and making any changes there if the Mist cloud manages your switch. The changes you make on a switch through the CLI don't get included in the switch configuration in the Mist cloud.