H3C MSR 20/30/50 Series Routers User Manual
Chapter 5 Software Maintenance
Step 2: Maintain the router through the terminal connected to the console port as follow:
<H3C>ftp 192.168.0.1
Trying 192.168.0.1 ...
Press CTRL+K to abort
Connected to 192.168.0.1.
220 3Com 3CDaemon FTP Server Version 2.0
User(192.168.0.1:(none)):guest Enter the user name configured on the router
331 User name ok, need password
Password: Enter the corresponding password
230 User logged in
Connect successfully
[ftp]
Use the command as follows to maintain the router.
Here,
get
and
put
commands are used to backup and recover files.
[ftp]get main.bin main.bin Download files to the router from the server
cf:/main.bin has been existing. Overwrite it?[Y/N]:y Overwrite it or not?
200 PORT command successful.
150 File status OK ; about to open data connection
226 Closing data connection; File transfer successful.
FTP: 14323376 byte(s) received in 69.256 second(s) 206.00K byte(s)/sec.
[ftp]put main.bin main.bin Backup the router files to the server
200 PORT command successful.
150 File status OK ; about to open data connection
226 Closing data connection; File transfer successful.
FTP: 14323376 byte(s) sent in 15.974 second(s) 896.00Kbyte(s)/sec.
[ftp]quit Quit the FTP
221 Service closing control connection
5.7 Maintaining Application Program and Configuration File
You can modify and display the file type under the file control submenu:
Enter <4> under the main BootROM menu to enter the file control submenu. The
system prompts:
========================<File CONTROL>=======================
|Note:the operating device is CF Card |
| <1> Display All File |
| <2> Set Application File type |
| <3> Set Configuration File type |
| <4> Delete File |
| <5> Exit To Main Menu |
=============================================================
5-23