
To do… | Use the command… | Remarks | |
|
| Optional | |
Configure the HTTP service port |
| 80 by default. | |
ip http port | If you execute the command | ||
number | |||
| |||
|
| multiple times, the last one takes | |
|
| effect. | |
|
|
| |
|
| Optional | |
|
| By default, the HTTP service is not | |
Associate the HTTP service with an |
| associated with any ACL. | |
ip http acl | Associating the HTTP service with | ||
ACL | |||
| |||
|
| an ACL enables the device to allow | |
|
| only clients permitted by the ACL to | |
|
| access the device. | |
|
|
| |
Create a local user and enter local |
| Required | |
By default, no local user is | |||
user view | |||
| configured. | ||
|
| ||
|
|
| |
Configure a password for the local | password { cipher simple } | Required | |
By default, no password is | |||
user | password | ||
configured for the local user. | |||
|
| ||
|
|
| |
Specify the command level of the |
| Required | |
No command level is configured | |||
local user | |||
| for the local user. | ||
|
| ||
|
|
| |
Specify the Telnet service type for |
| Required | |
By default, no service type is | |||
the local user | |||
| configured for the local user. | ||
|
| ||
|
|
| |
Exit to system view | quit | — | |
|
|
| |
|
| Required | |
Create a VLAN interface and enter | interface | If the VLAN interface already | |
its view | exists, the command enters its | ||
|
| view. |
Assign an IP address and subnet mask to the VLAN interface
ip address
Required
By default, no IP address is assigned to the VLAN interface.
Configuring HTTPS login
Follow these steps to configure HTTPS login:
To do… | Use the command… | Remarks |
Enter system view | — | |
|
|
|
67