37
[Sysname] ip https enable
ip https port
Use
ip https port
to configure the port number of the HTTPS service.
Use
undo ip https port
to restore the default.
Syntax
ip https port
port-number
undo ip https port
Default
The port number of the HTTPS service is 443.
Views
System view
Default command level
3: Manage level
Parameters
port-number
: Specifies the port number of the HTTPS 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 HTTPS service as 6000.
<Sysname> system-view
[Sysname] ip https port 6000
Related commands
display ip https
ip https ssl-server-policy
Use
ip https ssl-server-policy
to associate the HTTPS service with an SSL server-end policy.
Use
undo ip https ssl-server-policy
to remove the association.
Syntax
ip https ssl-server-policy
policy-name
undo ip https ssl-server-policy
Default
The HTTPS service is not associated with any SSL server-end policy, and the device uses a self-signed
certificate for authentication (a self-signed certificate is generated and signed by the device itself, rather
than the CA).
Views
System view