Legal Disclaimer: The resource assets in this website may include abbreviated and/or legacy terminology for HPE Aruba Networking products. See www.arubanetworks.com for current and complete HPE Aruba Networking product lines and names.
Editing Configuration on AOS-CX
Edit configuration for one or more switches in the MultiEdit MultiEdit mode allows configuring single or multiple AOS-CX switches using the CLI syntax. You can also view the difference between the Central running configuration and the switch running configuration. mode. Edit the entire configuration in a familiar looking CLI with syntax checking, colorization, and command completion.
MultiEdit mode displays only the running configuration on a switch. It supports only those commands that appear in the switch running configuration.
For a list of unsupported commands, see Commands Not Supported in the MultiEdit Mode.
For example, to delete VLAN Virtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. 25 from the switch configuration in the Edit Config page, instead of entering no vlan 25
, you must perform one of the following actions:
- If VLAN 25 is a standalone line in the configuration, then delete this line in the Edit Config page.
- If VLAN 25 is part of a range of VLANs 1 to 30, then delete VLAN 25 by editing the VLAN configuration line as
vlan 1-24,26-30
.
To edit and review switch configuration in the MultiEdit mode, complete the following steps:
- In the WebUI, select one of the following options:
- To select a group in the filter:
- Set the filter to a group.
The dashboard context for the group is displayed.
- Under , click > .
- Click the AOS-CX switch configuration dashboard. icon to view the
A list of switches is displayed in the List view.
- Set the filter to a group.
- To select a switch:
- Set the filter to or a group containing at least one switch.
- Under
A list of switches is displayed in the
view. , click > . - Click an AOS-CX switch under .
The dashboard context for the switch is displayed.
- Under
The AOS-CX UI configuration page is displayed.
, click .
- To select a group in the filter:
-
To enable MultiEdit mode, move the
toggle switch to the on position.The
page is displayed with the list of devices displayed in the table.At the device level, the
table lists only the switch that you have selected. Also, a pop-up is displayed on the bottom-right corner of the page with the options , , and . Go to step 5. -
Search for a switch by entering a search query in the
field.For more information about search queries, see Device Search on AOS-CX.
- In the
A pop-up is displayed on the bottom-right corner of the page with the options
, , and .
table, select one or multiple switches by clicking the corresponding rows. - To edit the configuration of switches, click .
- If you select a single switch, the Edit Configuration page is displayed.
- If you select multiple switches, the Edit Multi-Device Configuration page is displayed with the following panes:
—Lists the selected switch names.
Select the switches for which you want to edit the configuration by clicking the row corresponding to the switches.
- —Displays the aggregate running configuration of all switches.
In both the pages, the following views are available:
When editing multiple switches, the
pane is also displayed. Select the check box for the switches you want to edit. The following features are supported in the :- Configuration that is same across all switches is displayed as normal text.
- Differences in configuration is displayed as one of the following:
- Highlighted parameters (in green)—When parameter value differs across switches. Hover over the parameter to view the list of switches that have this parameter.
- Entire line differences—Entire line differences are displayed by highlighting the lines along with a description mentioning the switch name that has this line in the configuration. When more than one switch contains this line, a summary of the number of switches is displayed. For example, 2/7 is displayed if two out of seven switches that are selected contain this line in the configuration. To view the list of switches, hover over this summary.
To modify the values of these parameters, right-click the parameter. The
pane is displayed.- If the parameter is already configured on a switch, you can modify the value. Otherwise, is displayed for the value and it cannot be modified.
- If you want to apply the same value to all selected switches, select the check box.
- To save the changes, click
Clicking Save at the bottom of the Editor View discards the changes made in the Modify Parameters pane.
in the Modify Parameters pane.
- Command completion and help text are available by pressing the CTRL+SPACE key combination.
An inline drop-down is displayed with the available commands or parameters within commands. To insert a command or parameter, select an option and press TAB.
- Syntax errors are marked (in red) directly under the incorrect text.
- If a command line is not inserted in the correct position, the line is automatically moved to the correct position in the configuration.
For example, if the configuration contains information for VLAN IDs 1 to 3, and you are adding VLAN 4 after VLAN 1 in the configuration, the editor moves the VLAN 4 command line after VLAN 3.
—Displays the aggregate running configuration on the switches in the pane. Edit the configuration in this view.- The pane displays the running configuration on the switch.
- The pane highlights the changes made in the in addition to displaying the running configuration on the switch. You cannot edit the switch configuration in this view.
—Displays the difference between changes made in the and the running configuration on a switch. In this view, two panes, and , are displayed. When viewing details of multiple switches, select a switch from the drop-down.
- Edit the configuration in the , and click .
The following animation shows you how to edit the configuration for a single switch:
The following animation shows you how to edit the configuration for multiple switches:
Configuration Drift Warning in Edit Config
When you edit the configuration of the same AOS-CX switch, in the MultiEdit mode, in two different browser tab sessions, and try to save the configuration one after the other, the following events occur:
- The configuration that you save first in the editor in any of the two browser tabs is saved on the switch.
- When you try to save the configuration in the editor in the other browser tab, HPE Aruba Networking Central displays a warning that the configuration has been changed outside the current editor.
- If you ignore the warning and continue to save the configuration, HPE Aruba Networking Central overwrites the changes saved earlier with the current changes.
If you save any changes in the MultiEdit mode and the changes do not reflect on the switch, check the Audit Trail details for any errors in the configuration sync.