76
Parameters
username
: Specifies a username. You can use the
display
ftp-user
command to display FTP user
information.
Examples
# Release the FTP connections established by using the user account
ftpuser
.
<Sysname> free ftp user ftpuser
Are you sure to free FTP connection? [Y/N]:y
<Sysname>
free ftp user-ip
Use
free
ftp
user-ip
to manually release the FTP connections established from a specific IPv4 address.
Syntax
free
ftp
user-ip
ipv4-address
[
port
port
]
Views
User view
Predefined user roles
network-admin
Parameters
ipv4-address
: Specifies the source IP address of an FTP connection. You can use the
display
ftp-user
command to view the source IP addresses of FTP connections.
port
port
: Specifies the source port of an FTP connection. You can use the
display
ftp-user
command to
view the source ports of FTP connections.
Examples
# Release the FTP connections established from IP address 192.168.20.184.
<Sysname> free ftp user-ip 192.168.20.184
Are you sure to free FTP connection? [Y/N]:y
<Sysname>
ftp server acl
Use
ftp
server
acl
to use an ACL to control FTP clients' access to the FTP server.
Use
undo ftp server acl
to restore the default.
Syntax
ftp
server
acl
{
acl-number
}
undo
ftp
server
acl
Default
No ACL is used to control FTP clients' access to the FTP server.
Views
System view