R3166-R3206-HP High-End Firewalls Getting Started Command Reference-6PW101
17
ip http enable
Syntax
ip http enable
undo ip http enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the ip http enable command to enable the HTTP service.
Use the undo ip http enable command to disable the HTTP service.
The device can act as the HTTP server that can be accessed only after the HTTP service is enabled.
Related commands: display ip http.
Examples
# Enable the HTTP service.
<Sysname> system-view
[Sysname] ip http enable
# Disable the HTTP service.
<Sysname> system-view
[Sysname] undo ip http enable
ip http port
Syntax
ip http port port-number
undo ip http port
View
System view
Default level
3: Manage level
Parameters
port-number: Port number of the HTTP service, which ranges from 1 to 65535.
Description
Use the ip http port command to configure the port number of the HTTP service.
Use the undo ip http port command to restore the default.
By default, the port number of the HTTP service is 80.