| System Management Commands
C
20
HAPTER
File Management
upgrade opcode
path
It then restarts the system to start using the new image.
4.
Any changes made to the default setting can be displayed with the
◆
show running-config
E
XAMPLE
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.
. .
.
Automatic Upgrade is looking for a new image
New image detected: current version 1.0.1.5; new version 1.1.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
. .
.
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.
S
YNTAX
upgrade opcode path opcode-dir-url
no upgrade opcode path
opcode-dir-url - The location of the new code.
D
S
EFAULT
ETTING
None
C
M
OMMAND
ODE
Global Configuration
C
U
OMMAND
SAGE
This command is used in conjunction with the
◆
command to facilitate automatic upgrade of new operational code
stored at the location indicated by this command.
– 542 –
or
show startup-config
commands.
upgrade opcode auto