51
# Assign the IP address 192.168.0.58 and the subnet mask 255.255.255.0 to VLAN-interface
999.
[Sysname] interface vlan-interface 999
[Sysname-VLAN-interface999] ip address 192.168.0.58 255.255.255.0
[Sysname-VLAN-interface999] quit
# Create a local user named
admin
, and set the password to
admin
for the user. Specify the Web
service type for the local user, and set the command level to 3 for this user.
[Sysname] local-user admin
[Sysname-luser-admin] service-type web
[Sysname-luser-admin] authorization-attribute level 3
[Sysname-luser-admin] password simple admin
2.
Verify the configuration:
# On the PC, run the Web browser. Enter the IP address of the device in the address bar. The Web
login page appears, as shown in
.
Figure 19
Web login page
# Enter the user name, password, verify code, select
English
, and click
Login
. The homepage
appears. After login, you can configure device settings through the Web interface.
HTTPS login configuration example
Network requirements
As shown in
, to prevent unauthorized users from accessing the device, configure the device as
the HTTPS server and the host as the HTTPS client, and request a certificate for each of them.