
5-17
program of the router to the file server, or download configuration file or application program to the
router from the file server.
Configuring environment
Step 1: Set up hardware environment (refer to section “Upgrading Application Program Through
Ethernet Interface” for details), and point the server path to the folder where the file is put.
Figure 5-8
Networking diagram for maintenance under command line mode
Configure the IP addresses of the two sides to be in the same network. In this section, the TFTP server
is set to 192.168.0.1, and the Ethernet interface connected to it (Ethernet interface 0/0 in this example;
so, any interface is OK) is set to 192.168.0.2. Both can use the
ping
command to check if the
connection is successful.
Backing up and recovering application program and configure file
After finishing environment building, perform the following operations:
View the files included in current file system with the
dir
command:
<DEVICE>dir
Directory of cf:/
0 -rw- 14323376 Apr 03 2006 15:36:48 main.bin
1 drw- - Mar 20 2006 09:55:28 logfile
2 -rw- 909 Apr 04 2006 10:54:38 configbak.cfg
3 -rw- 1045 Apr 04 2006 11:31:36 config.cfg
4 -rw- 14323376 Mar 31 2006 17:50:22 backup.bin
63340 KB total (20928 KB free)
File system type of cf: FAT32
<DEVICE>
Use the command as follows to backup the config.cfg file on the router to TFTP server and save as
config.bak: