HP VPN Firewall Appliances System Management and Maintenance Command Reference

237
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 FTP requests from specific FTP clients only. This configuration takes
effect for FTP connections to be established only, and does not impact existing FTP connections. If you
execute the command multiple times, the most recently specified ACL 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 enable
Use ftp server enable to enable the FTP server.
Use undo ftp server to disable the FTP server.
Syntax
ftp server enable
undo ftp server
Default
The FTP server is disabled.
Views
System view
Default command level
3: Manage level
Examples
# Enable the FTP server.
<Sysname> system-view
[Sysname] ftp server enable
[Sysname]
ftp timeout
Use ftp timeout to set the idle-timeout timer for FTP connections.