Command Usage
•
This command is used to enable or disable automatic upgrade of the operational
code. When the switch starts up and automatic image upgrade is enabled by this
command, the switch will follow these steps when it boots up:
1. It will search for a new version of the image at the location specified by
opcode path
command
new image stored on the TFTP server must be SSE-G2252_Op.bix. If the switch
detects a code version newer than the one currently in use, it will download the new
image. If two code images are already stored in the switch, the image not set to start
up the system will be overwritten by the new version.
2. After the image has been downloaded, the switch will send a trap message to log
whether or not the upgrade operation was successful.
3. It sets the new version as the startup image.
4. It then restarts the system to start using the new image.
•
Any changes made to the default setting can be displayed with the
running-config" on page 21-4
Example
SSE-G2252(config)#upgrade opcode auto
SSE-G2252(config)#upgrade opcode path tftp://192.168.0.1/sm24/
SSE-G2252(config)#
If a new image is found at the specified location, the following type of messages will be
displayed during bootup.
.
.
.
Automatic Upgrade is looking for a new image
New image detected: current version 0.0.1.0; new version 0.0.2.0
Image upgrade in progress
The switch will restart after upgrade succeeds
Downloading new image
Flash programming started
Flash programming completed
The switch will now restart
.
.
.
Chapter 21: System Management Commands
("upgrade opcode path" on page
or
"show startup-config" on page 21-7
21-21
upgrade
21-22). The name for the
"show
commands.