How do I upgrade the Aruba switch image using cpboot?

By AnandKumar Sukumar posted Jul 01, 2014 04:34 PM

  

Product and Software: This article applies to all Aruba 3000, 6000, and 600 Series Controllers and all ArubaOS versions.

 

1) Set the environmental variables to the controller by issuing the following commands:

 

Hit any key to stop autoboot: 0 <<< 5 seconds to press Enter.
cpboot> <<< This is the "cpboot" mode.

cpboot> setenv ipaddr 10.168.89.18 <<< Controller IP address.
cpboot> setenv netmask 255.255.255.0 <<< Controller subnet mask.
cpboot> setenv gatewayip 10.168.89.1 <<< Controller gateway IP.
cpboot> setenv serverip 10.1.1.234 <<< TFTP server IP address.
cpboot> save <<< Save the configuration.


The 'save' command is necessary in the Aruba 3000 Series controllers, but it is not required for Aruba 800/2400 controllers.

 

2) Verify connectivity by issuing these commands:

 

cpboot> ping <gateway ip>

cpboot> ping <tftp server ip>

 

3) Upgrade the controller by issuing these commands:

 

cpboot> upgrade 0 ArubaOS_MMC_3.3.2.5_19578

 

Starting TFTP Download....
Using xlr_gmac3 device
TFTP from server 10.0.0.1; our IP address is 10.0.0.2
Filename 'ArubaOS_MMC_3.3.2.5_19578'.
Load address: 0x87000000
Loading: ###################################################

<<<<< Welcome to Aruba Networks - Aruba A3600-64 >>>>>

Performing CompactFlash fast test... Checking for file system...
Passed.
Reboot Cause: User reboot.
Restoring the database...done.
Generating SSH Keys......done.
Reading configuration from default.cfg
Retrieving Configuration...will take approximately 1 minute


(Aruba)
User: <<< Enter the user credentials.


upgrade
<<< Key word to upgrade the controller.

 

0 <<< Refer to Partition 0 on the controller. (We can also mention 1 because the controller has two partitions.)

ArubaOS_MMC_3.3.2.5_19578 <<< Image name.

 

             xlr_gmac3 <<< xlr_gmac3 refers to front panel port 0; xlr_gmac2 refers to front panel port 1, and so on.

4 comments
30 views

Comments

Nov 23, 2019 12:48 AM

yes - i'm a newbie to Aruba.  Went through articles after upgrading my 7005 controller to AOS 8.6.0.0  -  eventually had to delete/erase the image from the controller, and couldn't figure out how to reload.  Ran through the steps you posted and I'm back up and running. Thank you!!!  Great to see so many people willing to post useful information!

Nov 21, 2019 10:22 PM

Thank you for your info. That s very helpful !!!

Nov 21, 2019 10:03 PM

 

Tried to configure the environment but however unable to get any interface work.

cpboot> setenv ipadd 10.68.89.18
cpboot> setenv netmask 255.255.255.0
cpboot> setenv gatewayip 10.68.89.1
cpboot> setenv serverip 10.1.1.234
cpboot> save
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
. done
Writing to Flash... done
Protected 1 sectors
cpboot> ping 10.68.89.1
Using ge-1 device
ping failed; host 10.68.89.1 is not alive.

 

How do you get the interface and TFTP server inside controller to work?

 

 

 

 

Mar 02, 2018 01:35 PM

Please provide the logical network diagram on WLC 3400. That's more clearly. Thanks


@AnandKumar Sukumarwrote:

Product and Software: This article applies to all Aruba 3000, 6000, and 600 Series Controllers and all ArubaOS versions.

 

1) Set the environmental variables to the controller by issuing the following commands:

 

Hit any key to stop autoboot: 0 <<< 5 seconds to press Enter.
cpboot> <<< This is the "cpboot" mode.

cpboot> setenv ipaddr 10.168.89.18 <<< Controller IP address.
cpboot> setenv netmask 255.255.255.0 <<< Controller subnet mask.
cpboot> setenv gatewayip 10.168.89.1 <<< Controller gateway IP.
cpboot> setenv serverip 10.1.1.234 <<< TFTP server IP address.
cpboot> save <<< Save the configuration.


The 'save' command is necessary in the Aruba 3000 Series controllers, but it is not required for Aruba 800/2400 controllers.

 

2) Verify connectivity by issuing these commands:

 

cpboot> ping <gateway ip>

cpboot> ping <tftp server ip>

 

3) Upgrade the controller by issuing these commands:

 

cpboot> upgrade 0 ArubaOS_MMC_3.3.2.5_19578

 

Starting TFTP Download....
Using xlr_gmac3 device
TFTP from server 10.0.0.1; our IP address is 10.0.0.2
Filename 'ArubaOS_MMC_3.3.2.5_19578'.
Load address: 0x87000000
Loading: ###################################################

<<<<< Welcome to Aruba Networks - Aruba A3600-64 >>>>>

Performing CompactFlash fast test... Checking for file system...
Passed.
Reboot Cause: User reboot.
Restoring the database...done.
Generating SSH Keys......done.
Reading configuration from default.cfg
Retrieving Configuration...will take approximately 1 minute


(Aruba)
User: <<< Enter the user credentials.


upgrade
<<< Key word to upgrade the controller.

 

0 <<< Refer to Partition 0 on the controller. (We can also mention 1 because the controller has two partitions.)

ArubaOS_MMC_3.3.2.5_19578 <<< Image name.

 

             xlr_gmac3 <<< xlr_gmac3 refers to front panel port 0; xlr_gmac2 refers to front panel port 1, and so on.

 

 

Any logical connections or diagram. That would be great !