Configuration Guide Smart Web Configuration
1-34
Enter configuration commands, one per line. End with CNTL/Z.
Enable the Web service.
Ruijie(config)#enable service web-server
Configure a local username and password. In the command below,
level
indicates the user priority.
Ruijie(config)# webmaster level 0 username admin password admin
Configure the device management IP address. The management VLAN is VLAN 1 by default. Configure the IP address for
VLAN 1 and ensure that you can ping the management IP address successfully.
Ruijie(config)#interface vlan 1
Ruijie(config-if-VLAN 1)#ip address 192.168.1.1 255.255.255.0
This command configures the username and password for Web login authentication. You can use the
no
form of this
command to restore the default configurations or delete the user-defined configurations.
webmaster level
privilege-level
username
name
password {
password
| [ 0 | 7 ] encrypted-password }
no webmaster level
privilege-level
[
username
name ]
Parameter
Description
privilege-level
Indicates the permission level bound to a user. The system creates two accounts
by default:
admin
and
guest
. The default permission level of user
guest
is 2,
indicating that only the system home page can be accessed. The default
permission level of user
admin
is 0, indicating that the user can use all functions,
and is allowed to edit other management accounts, and authorize accessible
pages for the management accounts. The permission level of a newly added
account is 1.
name
Indicates the username.
password
Indicates the user password.
0
|
7
Indicates an encryption type of the password.
0
indicates no encryption and
7
indicates simple encryption.
encrypted-password
Indicates the password text.
Verification
Ruijie(config)#show running-config
Building configuration...
Current configuration : 6312 bytes
!
version RGOS 10.4(3b16) Release(82376)(Fri Nov 2 13:55:16 2012 -R03912)
hostname ruijie
!
!
webmaster level 0 username admin password 7 08022b181b29 //
Username and password for Web
management authentication. The password is displayed in encrypted manner.