< Home

ftp acl

Function

The ftp [ ipv6 ] acl command configures the ACL to control the access of clients to the FTP server.

The undo ftp [ ipv6 ] acl command cancels the configuration of the ACL.

By default, no ACL is configured for FTP server.

Format

ftp [ ipv6 ] acl acl-number

undo ftp [ ipv6 ] acl

Parameters

Parameter Description Value
ipv6 Indicates the IPv6 FTP server. -
acl-number Indicates the ACL number. The value is an integer ranging from 2000 to 3999.

Views

System view

Default Level

3: Management level

Usage Guidelines

When a FW serves as an FTP server, you can configure the ACL on the FW to control the login of the clients to the device through FTP.

If no rule is configured for the ACL configured by using the ftp acl command, all clients can access a specified FTP server.

Example

# Allow users match ACL 2000 to access the FTP server.

<sysname> system-view
[sysname] ftp acl 2000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >