To do…

Use the command…

Remarks

 

 

Optional

Configure the HTTP service port

 

80 by default.

ip http port port-number

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 acl-number

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

local-user user-name

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

authorization-attribute level level

No command level is configured

local user

 

for the local user.

 

 

 

 

 

Specify the Telnet service type for

 

Required

service-type telnet

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 vlan-interface

If the VLAN interface already

its view

vlan-interface-id

exists, the command enters its

 

 

view.

Assign an IP address and subnet mask to the VLAN interface

ip address ip-address{ mask mask-length}

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

system-view

 

 

 

67