5 file management commands, Copy – PLANET SGSD-1022 User Manual

Page 378

Advertising
background image

User’s Manual of SGSD-1022 / SGSD-1022P

SGSW-2840 / SGSW-2840P


Example

Console(config)#jumbo frame

Console(config)#

5.5.5 File Management Commands

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.

Command

Function

Mode

copy

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

memory or a 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

boot system

Specifies the file or image used to start up the system

GC

Table 5-11 Flash/File Commands

copy

This command moves (upload/download) a code image or configuration file between the switch’s flash memory and a TFTP

server. When you save the system code or configuration settings to a file on a TFTP server, that file can later be downloaded to

the switch to restore system operation. The success of the file transfer depends on the accessibility of the TFTP server and the

quality of the network connection.

Syntax

copy file {file | running-config | startup-config | tftp} copy running-config {file | startup-config | tftp} copy startup-config {file |

running-config | tftp} copy tftp {file | running-config | startup-config | https-certificate | public-key}

378

Advertising
This manual is related to the following products: