Configuration File Management 49
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-server config-name command to modify the file name on the router. For
details, refer to
Configure FTP.
Back up Configuration
Files
You can back up configuration files in the following ways:
■ The display current-configuration command output backup approach
■ The TFTP approach
■ The FTP approach
The display current-configuration command output backup approach
Executing the display current-configuration command 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
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-server config-name command 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 .
Operation Command
Upload configuration files to the TFTP server
with a specified address and specify the
name for the uploaded file
copy tftp-server-ip-addr
file-name config