Configuration File Management 49

Back up Configuration Files

At the prompt of “ftp>”, use the put LocalFile [ RemoteFile ] command to upload the specified file to the router. RemoteFile should use the name of the config file on the router, and the name is case sensitive. You can use the ftp-serverconfig-namecommand to modify the file name on the router. For details, refer to Configure FTP.

You can back up configuration files in the following ways:

The display current-configurationcommand output backup approach

The TFTP approach

The FTP approach

The display current-configurationcommand output backup approach

Executing the display current-configurationcommand displays all the configurations (except for the default configuration) of the router. In Hyper terminal, simply copying all the displayed configuration information to a text file will fulfill the purpose of backup.

You can back up the configuration file by copying and saving the contents displayed below “Current configuration” into a text file.

TFTP approach

First of all, start the TFTP server application program on a PC (the router should be connected to the PC directly or indirectly, and ping operation can be performed between them), then set a path and use the copy command in the system view, thus, you can upload the configuration files to the TFTP server from the router. The method is often used in remote maintenance.

Perform the following command in system view.

Table 23 Upload configuration files to a TFTP server

Operation

Command

 

 

Upload configuration files to the TFTP server

copy tftp-server-ip-addr

with a specified address and specify the

file-name config

name for the uploaded file

 

 

 

FTP approach

The procedure of loading configuration files with FTP is the same as loading the main 3Com Router program software with FTP, except for the files to be loaded. See “FTP Approach” on page 41 for reference. When loading configuration files with FTP, however, the Step 6 described in “FTP Approach” on page 41 should be modified as follows:

At the prompt of ftp>, use the get RemoteFile [LocalFile] command to upload the specified file to the router. RemoteFile should use the same name of the config file on the router, and the name is case sensitive. You can use the ftp-serverconfig-namecommand to modify the file name on the router. For details, refer to Configure FTPConfigure FTP.

ftp> get config config.bak

200 Port command okay.

150 Server okay , now transmit file .

Page 53
Image 53
3Com 10014299 Display current-configurationcommand output backup approach, Back up Configuration Files, File-name config