5-17
3) Configure the IP addresses for both sides, which must be on the same subnet. For example, set
the IP address of the TFTP server to 192.168.0.1, and that of the LSQM1WCMB0 access controller
module’s management Ethernet interface to 192.168.0.2. Then use
ping
to verify the network
connectivity.
Backing up and restoring application and configuration files
After setting up the environment, perform the following operations on the console terminal:
1) View the files in the current file system with the
dir
command.
<H3C>dir
Directory of cfa0:/
0 -rw- 617 Jul 26 2007 08:22:56 startup.cfg
1 -rw- 10021148 Jul 28 2035 10:35:38 main.bin
2 -rw- 356124 Jul 27 2007 09:23:54 bootware.app
247808 KB total (237996 KB free)
File system type of cfa0: FAT32
<H3C>
2) Perform the following to backup or restore (download) a file.
z
To back up
startup.cfg
on the LSQM1WCMB0 by saving it as
startup.bak
on the TFTP server,
use the following command:
<H3C>tftp 192.168.0.1 put startup.cfg config.bak
File will be transferred in binary mode
Sending file to remote TFTP server. Please wait...\
TFTP: 617 bytes sent in 0 second(s).
File uploaded successfully.
z
To download
config.cfg
from the TFTP server to the LSQM1WCMB0, use the following command:
<H3C>tftp 192.168.0.1 get config.cfg statup.cfg
The file statu.cfg exists. Overwrite it?[Y/N]:y
Verifying server file...
Deleting the old file, please wait...
File will be transferred in binary mode
Downloading file from remote tftp server, please wait...\
TFTP: 617 bytes received in 0 second(s)
File downloaded successfully.
If a file with the same name already exists on the LSQM1WCMB0, the system will ask you whether to
replace the existing file. Enter
Y
to replace it, or
N
to abort.