H3C MSR 20/30/50 Series Routers User Manual
Chapter 5 Software Maintenance
Ethernet
ROUTER
(TFTP/FTP Server)
PC
(TFTP/FTP Client)
Console
Figure 5-9
Router maintenance when it serves as the server
Configure the IP addresses of the two sides to be in the same network. In this section,
the PC server is set to 192.168.0.1, and the router 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.
Step 2: Boot FTP service.
You can boot FTP service after configuring FTP server authentication and authorization.
FTP server supports multiuser access. The remote FTP user sends request to the FTP
server, which then executes accordingly and returns the result of the execution to user.
Use the following command to boot the FTP service:
[H3C]ftp server enable
% Start FTP server
Add FTP authorized user name and password:
[H3C]local-user guest Set up the user guest
[H3C-luser- guest]service-type ftp The user type is FTP user
[H3C-luser- guest]password simple 123456
Add the password 123456 for the
user guest
Step 3: Maintain the router.
After booting FTP service of the router and configuring user name and password, you
can boot FTP Client on your PC. Take the FTP Client with Windows XP for example:
Enter <ftp> in the [DOS] window, and the system prompts:
C:\Documents and Settings\Administrator>ftp
ftp> The system prompts ftp>
ftp> open 192.168.0.2 Connected to the router IP
Connected to 192.168.0.2.
220 FTP service ready.
User (192.168.0.2:(none)): guest Enter the user name configured on the
router
331 Password required for guest
Password: Enter the password 123456
230 User logged in.
Successfully connected to the server
5-21