F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Getting Started Command Reference-6PW100
18
<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)
ip http enable
Use ip http enable to enable the HTTP service.
Use undo ip http enable to disable the HTTP service.
Syntax
ip http enable
undo ip http enable
Default
The HTTP service is enabled.
Views
System view
Default command level
2: System level
Usage guidelines
The device can act as the HTTP server that can be accessed only after the HTTP service is enabled.
This command is not supported in FIPS mode.
Examples
# Enable the HTTP service.
<Sysname> system-view
[Sysname] ip http enable
# Disable the HTTP service.
<Sysname> system-view
[Sysname] undo ip http enable
Related commands
display ip http
ip http port
Use ip http port to configure the port number of the HTTP service.
Use undo ip http port to restore the default.
Syntax
ip http port port-number