| System Management Commands
C
20
HAPTER
File Management
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.
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.
The name for the new image stored on the TFTP server must be
◆
ecs-runtime.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:
tftp://192.168.0.1[/filedir]/
When specifying an FTP server, the following syntax must be used,
◆
where filedir indicates the path to the directory containing the new
image:
ftp://[username[:password@]]192.168.0.1[/filedir]/
If the user name is omitted, "anonymous" will be used for the
connection. If the password is omitted a null string ("") will be used for
the connection.
E
XAMPLE
This shows how to specify a TFTP server where new code is stored.
Console(config)#upgrade opcode path tftp://192.168.0.1/sm24/
Console(config)#
This shows how to specify an FTP server where new code is stored.
Console(config)#upgrade opcode path ftp://admin:billy@192.168.0.1/sm24/
Console(config)#
– 712 –
upgrade opcode auto