33
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 disabled.
Views
System view
Default command level
2: System level
Usage guidelines
The default setting of this command varies with devices.
The device can act as the HTTP server that can be accessed only after the HTTP service is enabled.
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 dscp
Use
ip http dscp
to set the DSCP value for IPv4 to use for outgoing HTTP packets.
Use
undo ip http dscp
to restore the default.
Syntax
ip http dscp
dscp-value
undo ip http dscp
Default
IPv4 uses the DSCP value 16 for outgoing HTTP packets.