4
Command Line Interface
File Management Commands
Managing Firmware
Firmware can be uploaded and downloaded to or from an FTP/TFTP server. By
saving run-time code to a file on an FTP/TFTP server, that file can later be
downloaded to the switch to restore operation. The switch can also be set to use
new firmware without overwriting the previous version.
When downloading run-time 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 run-time 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.
Command
copy
delete
dir
whichboot
boot system
Automatic Code Upgrade Commands
upgrade opcode auto
upgrade opcode path
4-36
Table 4-11 Flash/File Commands
Function
Copies a code image or a switch configuration to or from flash
memory or a FTP/TFTP server
Deletes a file or code image
Displays a list of files in flash memory
Displays the files booted
Specifies the file or image used to start up the system
Automatically upgrades the current image when a new
version is detected on the indicated server
Specifies an FTP/TFTP server and directory in which the new
opcode is stored
Mode
Page
PE
4-37
PE
4-40
PE
4-40
PE
4-41
GC
4-42
GC
4-42
GC
4-43