86
For information about configuring authentication and authorization, see
Security Configuration
Guide
.
Manually releasing FTP connections
Execute the following commands in user view.
Task
Command
Manually release FTP
connections.
•
Release the FTP connection established by 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 in standalone mode
Network requirements
•
Configure the device as an FTP server.
•
Create a local user account named
abc
on the FTP server. Set the password to
123456
.
•
Use the user account to log in to the FTP server from the FTP client.
•
Upload the
temp.bin
file from the FTP client to the FTP server.
•
Download configuration file
startup.cfg
from the FTP server to the FTP client for backup.
Figure 22
Network diagram
Configuration procedure
1.
Configure IP addresses as shown in
. Make sure the device and PC can reach other.
(Details not shown.)
2.
Configure the device (FTP server):
# Create a local user named
abc
. Set the password to
123456
.
<Sysname> system-view
[Sysname] local-user abc class manage
[Sysname-luser-abc] password simple 123456
Internet
Device
FTP server
PC
FTP client
1.2.1.1/16
1.1.1.1/16
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...