CLI Reference Guide-R01

Table Of Contents
Chapter 1
| Initial Switch Configuration
Automatic Installation of Operation Code and Configuration Settings
– 64 –
b. After the image has been downloaded, the switch will send a trap message
to log whether or not the upgrade operation was successful.
c. It sets the new version as the startup image.
d. It then restarts the system to start using the new image.
Console(config)#upgrade opcode auto
Console(config)#
4. Display the automatic upgrade settings.
Console#show upgrade
Auto Image Upgrade Global Settings:
Status : Enabled
Reload Status : Enabled
Path :
File Name : ECS5520.bix
Console#
The following shows an example of the upgrade process.
Console#dir
File Name Type Startup Modify Time Size(bytes)
-------------------------- -------------- ------- ------------------- -------
Unit 1:
ECS4130_V1.0.3.191.bix OpCode Y 2016-10-17 11:30:26 9027848
Factory_Default_Config.cfg Config N 2015-04-13 13:55:58 455
startup1.cfg Config Y 2015-07-13 04:03:49 1707
----------------------------------------------------------------------------
Free space for compressed user config files: 1355776
Total space: 32 MB
...
Press ENTER to start session
Automatic Upgrade is looking for a new image
New image detected: current version V1.0.3.191; new version V1.0.3.192
Image upgrade in progress
Downloading new image
Flash programming started
Flash programming completed
Success
The switch will now restart
...
Press ENTER to start session
Automatic Upgrade is looking for a new image
No new image detected
User Access Verification
Username: admin
Password:
CLI session with the ECS4130-28T-AC is opened.
To end the CLI session, enter [Exit].
Console#dir
File Name Type Startup Modify Time Size(bytes)
-------------------------- -------------- ------- ------------------- -------
Unit 1: