The ftp acl command specifies an ACL number for the current FTP server so that the FTP client with the same ACL number can access the FTP server.
The undo ftp acl command deletes an ACL number of the current FTP server.
By default, no ACL is configured for FTP server.
Parameter | Description | Value |
---|---|---|
ipv6 | Specifies the IPv6 FTP server. | - |
acl-number | Specifies the number of the ACL. | The value is an integer that ranges from 2000 to 3999. |
Usage Scenario
When the device functions as an FTP server, you can configure an access control list (ACL) on the device to control the source IP address, destination IP address, source port, destination port, VPN instance, and packets whose protocol type is TCP, allows specific clients to log in to the device through FTP.
Precautions
The ftp server acl command takes effect only after you run the rule command to configure the ACL rule.