CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
File Management
– 135 –
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.
.
.
.
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
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
Command Usage
This command is used in conjunction with the upgrade opcode auto command
to facilitate automatic upgrade of new operational code stored at the location
indicated by this command.
The name for the new image stored on the TFTP server must be ECS4120-
Series.bix. However, note that file name is not to be included in this command.
When specifying a TFTP server, the following syntax must be used, where filedir
indicates the path to the directory containing the new image: