34
Views
System view
Default command level
2: System level
Parameters
dscp-value
: Specifies a DSCP value in the range of 0 to 63.
Examples
# Set the DSCP value for IPv4 to use for outgoing HTTP packets to 30.
<Sysname> system-view
[Sysname] ip http dscp 30
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
undo ip http port
Default
The port number of the HTTP service is 80.
Views
System view
Default command level
3: Manage level
Parameters
port-number
: Specifies the port number of the HTTP service, in the range of 1 to 65535.
Usage guidelines
Verify that the port number is not used by another service, because this command does not examine for
conflicts with configured port numbers.
Examples
# Configure the port number of the HTTP service as 8080.
<Sysname> system-view
[Sysname] ip http port 8080
Related commands
display ip http
ip https acl
Use
ip https acl
to associate the HTTPS service with an ACL.
Use
undo ip https acl
to remove the association.