3com S7906E Guide De Référence
2-3
Examples
# Manually release the FTP connection established with username ftpuser.
<Sysname> free ftp user ftpuser
Are you sure to free FTP user ftpuser? [Y/N]:y
<Sysname>
ftp server acl
Syntax
ftp server acl acl-number
undo ftp server acl
View
System view
Default Level
3: Manage level
Parameters
acl-number: Basic access control list (ACL) number, in the range 2000 to 2999.
Description
Use the ftp server acl command to use ACLs to restrict that which FTP clients are allowed to access
the device.
Use the undo ftp server acl command to restore the default.
By default, no restriction is configured.
Associated with an ACL, the FTP server can deny the FTP requests of some FTP clients and only
permit the access of clients allowed by the ACL rules. This configuration only filters the FTP
connections to be established, and has no effect on the established FTP connections and operations. If
you execute the command for multiple times, the last specified ACL takes effect.
Examples
# Associate the FTP service with ACL 2001 to allow only the client 1.1.1.1 to access the device through
FTP.
<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 2000
ftp server enable
Syntax
ftp server enable