Provisioning Factory Default Aruba CX Switches
Switches that run default configuration either after shipped from a factory or a factory reset are referred to as factory default switches. This topic describes the steps for provisioning factory default switches in Aruba Central.
Step 1: Onboard the Aruba CX Switch to Aruba Central
Log in to Aruba Central and onboard the switch.
Step 2: Assign the Aruba CX Switch to a Group
Before assigning a group, determine if the switch must be provisioned in a UI or template group. By default, Aruba Central assigns the factory default switches to default group. You can create a new group and assign switch to the new group.
For more information on creating a group, see Home.
To assign a device to a group from the
page:1. In the page, under , click . The Device Inventory page is displayed
2. Select the device that you want to assign to a group.
3. Click . The window is displayed.
4. Select the group to which you want to assign.
5. Click .
To assign a device to a group from the
app:1. In the app, set the filter to .
The dashboard context for the group is displayed.
2. Under , click > . The Groups page is displayed.
3. From the devices table on the right, select the device that you want to assign to a new group.
4. Drag and drop the device to the group to which you want to assign the device.
Step 3: Connect the Aruba CX Switch to Aruba Central
Switches with factory default configuration have very basic configuration for all ports in VLANVirtual 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.-1 that is required for obtaining an IP address and automatic provisioning (ZTPZero Touch Provisioning. ZTP is a device provisioning mechanism that allows automatic and quick provisioning of devices with a minimal or at times no manual intervention.). For ZTP, switches must have a valid IP address, DNSDomain Name System. A DNS server functions as a phone book for the intranet and Internet users. It converts human-readable computer host names into IP addresses and IP addresses into host names. It stores several records for a domain name such as an address 'A' record, name server (NS), and mail exchanger (MX) records. The Address 'A' record is the most important record that is stored in a DNS server, because it provides the required IP address for a network peripheral or element., and NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. configuration.
When a factory default switch is powered on and connected to the Internet, it establishes connection with Aruba Activate and downloads the provisioning parameters. If the switch is already added and assigned a subscription, it connects to Aruba Central.
Step 4: Provision the Aruba CX Switch to a Group
When the switch connects to Central, if it is already added to the device inventory and is assigned a subscription in Aruba Central, Aruba Central assigns it to a pre-assigned group. If there is no pre-assigned group, Aruba Central moves the device to the group. Based on your configuration requirements, you create a template group and assign the switch.
Provisioning Switches in Template Groups
After assigning the switch to a template group, create a new configuration template. To create a configuration template:
1. In the app, set the filter to a template group.
The dashboard context for the group is displayed.
2. Under , click > .
3. Click the Config icon.
The tabs to configure switches using templates is displayed.
4. Click the tab. The Templates page is displayed.
5. Click to add a new template. The window is displayed.
6. In the tab, enter a name for the template in the field.
7. In the drop-down, select .
8. Select the switch model and software version. You can specify any of the following combinations:
for both and —To apply the template to all switch models and all supported switch software versions.
for and a software version for —To apply the template to all switch models running the selected software version.
for and a switch model for —To apply the template to a switch model and all software versions supported by the selected switch model.
A switch model and a software version—To apply the template to a specific switch model and the software version. The template created for a switch model and a software version takes precedence over the template that is created for all platforms and versions.
9. Select the manufacturing part number of the switch in the drop-down.
|
The drop-down is displayed only if you select a switch model in the drop-down.If you select a specific switch model and part number, you can apply the template to a standalone switch and not to a stack. If you select in the drop-down, or if you select a switch model and in the drop-down, you can apply a template to both a standalone switch and stack. |
10. Click . The tab is displayed.
11. Build a new template by adding the output of the show running-config from the switch CLI in the text box. Ensure that the template text adheres to the guidelines listed in Important Points to Note.
|
You must manually create the template for the Aruba CX switch in a group, along with the password in plaintext format. You can use the output of the show running-config command to create the template. You can also add variables to use the same template for onboarding multiple Aruba CX switches. For more information on variables, see Managing Variable Files on page 1. All switch templates must include a password command to set a password for the device. The template cannot be saved without adding a password command. If the configuration that is pushed from Aruba Central to the device does not contain a password command, the configuration push is aborted for the device and a log is added to the audit trail. For example, if you add the password command in a condition block and the condition evaluates to false, the configuration that is pushed will not contain the password command. For more information, see Managing Password in Configuration Templates. For Aruba CX switches, you must configure the password only in plaintext. Also, the format of password must be user admin group administrators password plaintext <string>. |
12. Click . After you apply the configuration template, switches reboot and reconnect to Aruba Central with the new configuration.
Step 5: Verify the Configuration Status
To verify the configuration status:
1. In the app, set the filter to a template group.
The dashboard context for the group is displayed.
2. Under , click > .
3. Click the icon.
The tabs to configure switches using templates is displayed.
To verify the configuration status for the template group, click
. The dashboard displays the number of devices with template and configuration synchronization errors.To view configuration errors for a specific device, select a switch from the filter bar. The
dashboard displays the number of template and configuration synchronization errors for the device.4. To view template errors, click .
5. To view configuration synchronization errors, click .
6. To compare running configuration and pending changes, click under .