Display information
Description
service-type ftp
Set the service type that can be used locally to FTP.
password simple 123456
Configure the user password.
authorization-attribute level 3
Set the user level to 3.
The FTP service is enabled after the authentication and authorization of the FTP server are
configured. The FTP server supports multi-client access. A remote FTP client sends a request
to the FTP server. The FTP server executes an action accordingly and returns the execution
result to the client.
After you configure the FTP server authentication and authorization, you need to set the user
level to 3. Otherwise, when you restore the backed-up file to the router, the system will prompt
that “You have no rights to store files”. For configurations of user levels, refer to
AAA
Configuration
in the
Security Volume
of
HP SR6600 Routers User Manual
.
Step3
Enable the FTP client program on the PC.
In the following example, the FTP client program is the built-in Windows XP FTP client:
Enter
ftp
in the DOS window:
C:\Documents and Settings\Administrator>ftp
ftp>
ftp> open 192.168.80.10
Connected to 192.168.80.10.
220 FTP service ready.
User (192.168.80.10:(none)): guest
331 Password required for guest
Password:
230 User logged in.
Table 6-12
Description on the display information of enabling FTP server
Display information
Description
C:\Documents and Settings\Administrator>ftp
Enable the FTP client program on the PC.
ftp> open 192.168.80.10
In FTP client view, log into the IPv4 FTP server.
User (192.168.80.10:(none))
Input the username configured on the FTP server.
331 Password required for guest
Input the password.
230 User logged in
You have logged into the FTP server successfully.
Step4
Update an application file.
Using FTP, you can upload an application file from the client to the server (router), and
overwrite the original main application file to implement application updating. The updated
application file takes effect when the router reboots.
# Upload file
main_bac.bin
from the PC to the router, and saves it as
main.bin
.
ftp> binary
200 Type set to I.
ftp> lcd d:\update
Local directory now D:\update.
ftp> put main.bin main.bin
200 Port command okay.
150 Opening BINARY mode data connection for /main.bin.