60
To do…
Use the command…
Remarks
Specify the Telnet service type
for the local user
service-type
web
Required
By default, no service type is configured for
the local user.
Exit to system view
quit
—
Enter management Ethernet
interface view
interface
interface-type
interfac-number
Required
Assign an IP address and subnet
mask to the management
Ethernet interface
ip
address
ip-address
{
mask
| mask-length
}
Required
By default, the IP address of the
management Ethernet interface is
192.168.0.1/24
Configuring HTTPS login
Follow these steps to configure HTTPS login:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Associate the HTTPS
service with an SSL
server policy
ip https ssl-server-policy
policy-name
Required
By default, the HTTPS service is not associated with any
SSL server policy.
•
If you disable the HTTPS service, the system
automatically de-associates the HTTPS service from the
SSL service policy. Before re-enabling the HTTPS
service, associate the HTTPS service with an SSL server
policy first.
•
Any changes to the SSL server policy associated with
the HTTP service that is enabled do not take effect.
Enable the HTTPS
service
ip https enable
Required
Disabled by default.
Enabling the HTTPS service triggers an SSL handshake
negotiation process. During the process, if the local
certificate of the device exists, the SSL negotiation
succeeds, and the HTTPS service can be started properly. If
no local certificate exists, a certificate application process
will be triggered by the SSL negotiation. Because the
application process takes much time, the SSL negotiation
often fails and the HTTPS service cannot be started
normally. In that case, you need to execute the
ip https
enable
command multiple times to start the HTTPS service.