This article will have a focus on Loading AOS from the bootloader prompt (cpboot) on Aruba Mobility Switch Platform running AOS 7.2
There may be instances when you want to load AOS quickly without actually booting the unit completely up since someone has intentionally re-formated the flash. Programming or recovering a switch in this condition can be done by loading the AOS binary via the bootloader (cpboot).
You will need the following:
AOS binary you want to load
A TFTP server
Out of band (OOB) management Ethernet port (S2500/S3500) or gigabitethernet 0/0/0 (S1500) connected to the network.
Environment : This article applies to all Aruba Mobility Switch Platform running AOS 7.2.
1. Set the environmental variables to the Mobility Access Switch by issuing the following commands:
Hit any key to stop autoboot: 0 <<< 5 seconds to press Enter.
cpboot> <<< This is the "cpboot" mode.
cpboot> pfe mgmt -- Only required for the S1500 to enable 0/0/0 as the management ethernet port
cpboot> setenv ipaddr xxx.xxx.xxx.xxx -- Set the IP address of your Mobility Access Switch
cpboot> setenv netmask xxx.xxx.xxx.xxx -- Set the subnet mask (not needed if TFTP and switch are on the same subnet)
cpboot> setenv gatewayip xxx.xxx.xxx.xxx -- Set the default gateway (not needed if TFTP and switch are on the same subnet)
cpboot> setenv serverip xxx.xxx.xxx.xxx -- Set the IP address of the TFTP server
2.Verify connectivity by issuing these commands:
cpboot> ping xxx.xxx.xxx.xxx -- Verify using ping that you can reach the TFTP server
3. Upgrade the Mobility Access Switch by issuing these commands:
cpboot> upgrade 0:0 ArubaOS_MAS_126.96.36.199_38210 -- Install the AOS binary to partition 0
cpboot> upgrade 0:1 ArubaOS_MAS_188.8.131.52_38210 -- Install the AOS binary to partition 1. System will prompt whether you want to boot from
secondary partition, select no.
cpboot> bootf -- Boot from flash memory