HP MSR2000/3000/4000 Router Series Fundamentals Configuration Guide
76
Manually releasing FTP connections
Task Command
Manually release FTP connections.
• Release the FTP connection established using a specific user
account:
free ftp user username
• Release the FTP connection to a specific IP address:
free ftp user-ip [ ipv6 ] client-address [ port port-num ]
Displaying and maintaining the FTP server
Execute display commands in any view.
Task Command
Display FTP server configuration and status information.
display ftp-server
Display detailed information about online FTP users.
display ftp-user
FTP server configuration example for MSR2000/MSR3000
Network requirements
Create a local user account with username abc and password 123456 on the FTP server. Use the user
account to log in to the FTP server from the FTP client, upload the file temp.bin from the FTP client to the
FTP server, and download the configuration file startup.cfg from the FTP server to the FTP client for
backup.
Figure 37 Network diagram
Configuration procedure
This configuration example was created on an MSR3000.
1. Configure IP addresses as shown in Figure 37, and m
ake sure the device and PC can reach each
other. (Details not shown.)
2. Configure the device (FTP server):
# Create a local user account abc, set the password to 123456, the user role to network-admin,
the working directory to the root directory of the CF card, and the service type to FTP.
<Sysname> system-view
[Sysname] local-user abc class manage
[Sysname-luser-abc] password simple 123456
[Sysname-luser-abc] authorization-attribute user-role network-admin work-directory
cfa0:/
[Sysname-luser-abc] service-type ftp