Chapter 35: File Management Commands

These commands are used to manage software and configuration files on the switch.

Managing Firmware

Firmware can be uploaded and downloaded to or from a TFTP server. By saving runtime code to a file on a 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 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 a 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 TFTP server, but cannot be used as the destination on the switch.

Table 35-1 Flash/File Commands

Command

Function

Mode

Page

 

 

 

 

copy

Copies a code image or a switch configuration to or from flash

PE

35-2

 

memory or a TFTP server

 

 

delete

Deletes a file or code image

PE

35-4

 

 

 

 

dir

Displays a list of files in flash memory

PE

35-5

 

 

 

 

whichboot

Displays the files booted

PE

35-6

 

 

 

 

boot system

Specifies the file or image used to start up the system

GC

35-7

 

 

 

 

35-1

Page 301
Image 301
Accton Technology ES4524D, ES4548D File Management Commands, Managing Firmware, Saving or Restoring Configuration Settings