44CHAPTER 3: SYSTEM MANAGEMENT

7At the prompt ftp>, appearing after the file uploading is completed, enter the dir command to display the file name and size on the router. If the uploading operation is successful, the program or configuration file on the router and the uploaded file on the host should have the same size.

8At the prompt ftp>, enter the quit command to exit the FTP client program.

9The router writes the files into the Flash after receiving all of them, and the following information displays on the terminal:

Now saving the program file.

Please wait for a while

Back up the 3Com Router Main Program Software

Receive

5802263 Bytes from client

Writing program code to FLASH...

Please waiting, it may take a long time (about 10 min)

####################################################################

############

####################################################

Write success, please reboot router!

The upgraded software can only take effect after rebooting the router.

TFTP Approach

With this approach, you can use the copy command to copy the 3Com Router main software to the TFTP server for redundancy, after booting the router.

Start the TFTP server and connect it with the router before using this method to back up the 3Com Router main software. Then, execute the following command in system view.

Table 19 Download configuration files from a TFTP server

Operation

Command

 

 

Copies the 3Com Router main software to a

copy ip-addr file-name system

TFTP server for redundancy

 

 

 

FTP Approach

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

At the prompt ftp>, use the get RemoteFile [LocalFile] command to upload the specified file to the router. RemoteFile should use the name of the system 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 “FTP Approach” on page 44.

ftp> get config config.bak 200 Port command okay.

150 Server okay , now transmit file .

226 file transmit success.

ftp: 5802263 bytes received in 80.74Seconds 71.86Kbytes/sec.

Page 48
Image 48
3Com 10014299 Back up the 3Com Router Main Program Software, Tftp Approach, FTP Approach, Copy ip-addr file-name system