How to upgrade a Lenovo switch running Campus NOS using the CLI
How to upgrade a Lenovo switch running Campus NOS using the CLI
How to upgrade a Lenovo switch running Campus NOS using the CLI
Description
This article introduces the procedure used to upgrade a Lenovo CE switch running Campus NOS using the CLI.
Procedure
- Establish a connection to the switch.
- Using the copy command and a selected transfer protocol, copy the IMGS file into the backup image.
Note: For the examples in this article, FTP will be used to transfer the file from FTP server IP 10.10.10.1. The original filename has been renamed to simplify the command (CE0128PB.imgs). The original filename looks like this: CE0128XB_CE0152XB-CampusNOS-r8v4m3b13.imgs.(CE0152PB)#copy ftp://user1@10.10.10.1/CE0128PB.imgs backup
Remote Password:********
Mode........................................... FTP
Set Server IP.................................. 10.10.10.1
Path........................................... ./
Filename....................................... CE0128PB.imgs
Data Type...................................... Code
Destination Filename........................... backup
Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y
File transfer in progress. Management access will be blocked for the duration of the transfer. Please wait...
FTP Code transfer starting...
File contents are valid. Copying file to flash...
Attempting to send the STK file to other units in the stack...
File transfer operation completed successfully.
(CE0152PB)# - Change the boot image to backup.
(CE0152PB)#boot system backup
Activating image backup ..
(CE0152PB)# - Make sure the next-active image matches the backup image.
(CE0152PB)#show bootvar
Image Descriptions
active :
backup :
Images currently available on Flash
---- ------------ ------------ ----------------- -----------------
unit active backup current-active next-active
---- ------------ ------------ ----------------- -----------------
1 8.4.3.2 8.4.3.13 8.4.3.2 8.4.3.13
(CE0152PB)# - Restart the switch to apply the image.
(CE0152PB)#reload
Are you sure you want to reload the stack? (y/n) y