CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
File Management
– 136 –
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)#
upgrade opcode
reload
This command reloads the switch automatically after the opcode upgrade is
completed. Use the no form to disable this feature.
Syntax
[no] upgrade opcode reload
Default Setting
Disabled
Command Mode
Global Configuration
Example
This shows how to automatically reboot and load the new code after the opcode
upgrade is completed.
Console(config)#upgrade opcode reload
Console(config)#