CLI Reference Guide

Table Of Contents
Chapter 4
| System Management Commands
File Management
– 124 –
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 show
running-config or show startup-config commands.
Example
Console(config)#upgrade opcode auto
Console(config)#upgrade opcode path tftp://192.168.0.1/sm24/
Console(config)#
If a new image is found at the specified location, the following type of messages
will be displayed during bootup. Note that auto upgrade using the default tftp
configuration, you can press ESC to abort the process if the upgrade is taking too
long.
.
.
.
Automatic Upgrade is looking for a new image
New image detected: current version 1.1.1.0; new version 1.1.1.2
Image upgrade in progress
The switch will restart after upgrade succeeds
Downloading new image
Warning: Automatic Upgrade is in progressing and this will take some time.
Please wait or ESC to abort...
............................................
Flash programming started
Flash programming completed
The switch will now restart
.
.
.
upgrade opcode path This command specifies an TFTP server and directory in which the new opcode is
stored. Use the no form of this command to clear the current setting.
Syntax
upgrade opcode path opcode-dir-url
no upgrade opcode path
opcode-dir-url - The location of the new code.
Default Setting
None
Command Mode
Global Configuration