60
Default
No ACL is used to control FTP client access to the FTP server.
Views
System view
Default command level
3: Manage level
Parameters
acl-number
: Basic ACL number, in the range of 2000 to 2999.
Usage guidelines
You can use this command to permit only FTP requests from specific FTP clients.
This configuration only takes effect for FTP connections to be established; it does not impact existing FTP
connections.
If you execute the command multiple times, the last setting takes effect.
Examples
# Use ACL 2001 to allow only the client 1.1.1.1 to access the FTP server.
<Sysname> system-view
[Sysname] acl number 2001
[Sysname-acl-basic-2001] rule 0 permit source 1.1.1.1 0
[Sysname-acl-basic-2001] rule 1 deny source any
[Sysname-acl-basic-2001] quit
[Sysname] ftp server acl 2001
ftp server dscp
Use
ftp server dscp
to set the DSCP value for IP to use for outgoing FTP packets on an FTP server.
Use
undo ftp server dscp
to restore the default.
Syntax
ftp server dscp
dscp-value
undo ftp server dscp
Default
IP uses the DSCP value 0 for outgoing FTP packets on a FTP server.
Views
System view
Default command level
2: System level
Parameters
dscp-value
: Specifies a DSCP value in the range of 0 to 63.
Examples
# Set the DSCP value for IP to use for outgoing FTP packets to 30 on an FTP server.
<Sysname> system-view