Displaying and maintaining web login, Http login configuration example, Network requirements – H3C Technologies H3C SecBlade LB Cards User Manual
Page 48

38
Step Command
Remarks
10.
Set the size of the buffer
for Web login logging.
web logbuffer size pieces
Optional.
By default, the buffer can save up to 512
Web login logs.
11.
Create a local user and
enter local user view.
local-user user-name
By default, there is a local user named
admin.
12.
Configure a password for
the local user.
password [ [ hash ] { cipher |
simple } password ]
By default, no password is configured
for a newly created local user, and the
password for local user admin is admin.
13.
Specify the command
level of the local user.
authorization-attribute level level
By default, no command level is
configured for the local user.
14.
Specify the Web service
type for the local user.
service-type web
By default, no service type is configured
for the local user.
15.
Exit to system view.
quit
N/A
16.
Enter interface view.
interface interface-type
interface-number
N/A
17.
Assign an IP address and
subnet mask to the
interface.
ip address ip-address { mask |
mask-length }
By default, the interface GigabitEthernet
0/1 on the LB module has the IP address
192.168.0.1/24 configured, and the
interface GigabitEthernet 0/0 on the
L1000-A has the same IP address
configured.
Displaying and maintaining Web login
Task Command
Remarks
Display information about Web
users.
display web users [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display HTTP state information.
display ip http [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display HTTPS state
information.
display ip https [ | { begin | exclude |
include } regular-expression ]
Available in any view.
HTTP login configuration example
Network requirements
As shown in
, configure the LB product to allow the PC to log in over the IP network by using
HTTP.