HP VPN Firewall Appliances Getting Started Command Reference

17
Examples
# Set the idle-timeout timer to 1 minute and 30 seconds.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] idle-timeout 1 30
ip http acl
Use ip http acl to associate the HTTP service with an ACL.
Use undo ip http acl to remove the association.
Syntax
ip http acl acl-number
undo ip http acl acl-number
Default
The HTTP service is not associated with any ACL.
Views
System view
Default command level
2: System level
Parameters
acl-number: ACL number in the range of 2000 to 2999.
Usage guidelines
After the HTTP service is associated with an ACL, only the clients permitted by the ACL can access the
device through HTTP.
ACLs of the same type overwrite each other. If you execute the ip http acl command multiple times to
associate the HTTP service with ACLs of the same type, the HTTP service is only associated with the most
recently specified ACL.
This command is not supported in FIPS mode.
Examples
# Associate the HTTP service with ACL 2001 to only allow the clients within the 10.10.0.0/16 network to
access the device through HTTP.
<Sysname> system-view
[Sysname] acl number 2001
[Sysname-acl-basic-2001] rule permit source 10.10.0.0 0.0.255.255
[Sysname-acl-basic-2001] quit
[Sysname] ip http acl 2001
Related commands
display ip http
acl number (ACL and QoS Command Reference)