Define a default global route
switch(config)# ip route 0.0.0.0/0 <next-hop-ip>
In previous AOS switches, this is equivalent to:
switch(config)#ip default-gateway <default-gateway>
Assign an IP to a VLAN
First create a virtual interface, then assign an IP to that interface.
switch(config)#vlan 192
switch(config-if-vlan)#ip address 10.192.1.100/21
Assign untagged traffic to a physical port
The VLAN must exist. In this example, VLAN 200 is untagged (untagged in AOS) and VLAN 1707 is allowed VLAN (tagged in AOS)
switch(config)#vlan 200
switch(config-vlan-192)#vlan trunk native 200
switch(config-vlan-192)#vlan trunk allowed 200,1707
Update Aruba CX firmware
While you can download firmware from TFTP, I prefer using an SFTP server. This example downloads the switch image into the secondary storage. You may need to enable allow-non-failsafe-updates 30, where 30 is the number of minutes, to allow updating of all components.
switch#copy sftp://[email protected]//home/vwenberg/AOS.swi
switch#allow-non-failsafe-updates 30
You can verify the images in storage using:
switch#show images
Boot to the secondary storage device. The system may reboot several times for updates.
switch#boot system secondary
After the switch has finished upgrading, verify the images.
switch#show images
If everything works, you can copy the secondary image to the primary image.
switch#copy secondary primary
Now reboot to the primary image.
switch#boot system primary
Configure DNS Servers
switch(config)#ip dns server-address 1.1.1.1
switch(config)#ip dns server-address 8.8.8.8
Configure NTP Server
First set your timezone and then set an NTP server. You can see a list of timezones from Wikipedia.
switch(config)#clock timezone CST
switch(config)#ntp server pool.ntp.org