ECS4100 Series CLI Reference Guide-R07

Table Of Contents
Chapter 4
| System Management Commands
File Management
– 140 –
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 ECS2100-
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:
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.
Example
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)#