Step
12.
Configure a
password for the
local user.
13.
Specify the
command level of the
local user.
14.
Specify the Web
service type for the
local user.
15.
Exit to system view.
16.
Enter interface view.
17.
Assign an IP address
and subnet mask to
the interface.
Displaying and maintaining Web login
Task
Display information about Web
users.
Display HTTP state information.
Display HTTPS state
information.
HTTP login configuration example
Network requirements
As shown in
Figure 36 Network diagram
Configuration procedure
1.
Configure the device:
# Assign the IP address 192.168.0.58/24 to interface Ethernet 1/1 (the interface connected to
the PC).
Command
password { cipher | simple }
password
authorization-attribute level
level
service-type web
quit
interface interface-type
{ interface-number |
interface-number.subnumber }
ip address ip-address { mask |
mask-length }
Command
display web users [ | { begin | exclude |
include } regular-expression ]
display ip http [ | { begin | exclude |
include } regular-expression ]
display ip https [ | { begin | exclude |
include } regular-expression ]
Figure
36, configure the device to allow the PC to log in over the IP network by using HTTP.
Remarks
By default, no password is configured for the
local user.
By default, no command level is configured for
the local user.
By default, no service type is configured for the
local user.
N/A
N/A
N/A
70
Remarks
Available in any view.
Available in any view.
Available in any view.