CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
File Management
– 126 –
When downloading runtime code, the destination file name can be specified to
replace the current image, or the file can be first downloaded using a different
name from the current runtime code file, and then the new file set as the startup
file.
Saving or Restoring Configuration Settings
Configuration settings can be uploaded and downloaded to and from an FTP/TFTP
server. The configuration file can be later downloaded to restore switch settings.
The configuration file can be downloaded under a new file name and then set as
the startup file, or the current startup configuration file can be specified as the
destination file to directly replace it. Note that the file “Factory_Default_Config.cfg”
can be copied to the FTP/TFTP server, but cannot be used as the destination on the
switch.
Table 17: Flash/File Commands
Command Function Mode
General Commands
boot system Specifies the file or image used to start up the system GC
copy Copies a code image or a switch configuration to or from
flash memory or an FTP/TFTP server
PE
delete Deletes a file or code image PE
dir Displays a list of files in flash memory PE
whichboot Displays the files booted PE
Automatic Code Upgrade Commands
upgrade opcode auto Automatically upgrades the current image when a new
version is detected on the indicated server
GC
upgrade opcode path Specifies an FTP/TFTP server and directory in which the
new opcode is stored
GC
upgrade opcode reload Reloads the switch automatically after the opcode upgrade
is completed
GC
show upgrade Shows the opcode upgrade configuration settings. PE
TFTP Configuration Commands
ip tftp retry Specifies the number of times the switch can retry
transmitting a request to a TFTP server
GC
ip tftp timeout Specifies the time the switch can wait for a response from a
TFTP server before retransmitting a request or timing out
for the last retry
GC
show ip tftp Displays information about TFTP settings PE