Siemens S323 Manual Do Utilizador

Página de 381
UMN:CLI                                                                                                                                                              User  Manual 
SURPASS hiD 6615 S223/S323 R1.5 
46                                                                         A50010-Y3-C150-2-7619 
To display a configured security level, use the following command. 
Command Mode 
Description 
show privilege 
Shows a configured security level. 
show privilege now 
View 
Enable 
Global 
Shows a security level of current mode. 
 
The following is an example of creating the system account test0 having a security level 
10 and test1 having a security level 1 without password. 
SWITCH(config)# user add test0 level 0 level0user 
Changing password for test0 
Enter the new password (minimum of 5, maximum of 8 characters) 
Please use a combination of upper and lower case letters and numbers. 
Enter new password:(Enter) 
Bad password: too short. 
Warning: weak password (continuing). 
Re-enter new password: (Enter) 
Password changed. 
SWITCH(config)# user add test1 level 1 level1user 
Changing password for test1 
Enter the new password (minimum of 5, maximum of 8 characters) 
Please use a combination of upper and lower case letters and numbers. 
Enter new password: (Enter) 
Bad password: too short. 
Warning: weak password (continuing). 
Re-enter new password: (Enter) 
Password changed. 
SWITCH(config)# show user 
==================================================== 
 User  name              Description         Level 
==================================================== 
test0                   level0user            0 
test1                   level1user            1  
SWITCH(config)# 
 
The following is an example of configuring an authority of the security level 0 and 1. 
SWITCH(config)# privilege view level 0 enable 
SWITCH(config)# privilege enable level 0 show 
SWITCH(config)# privilege enable level 1 configure terminal 
SWITCH(config)# show privilege 
 Command Privilege Level Configuration 
 ----------------------------------------------- 
 Node           All   Level   Command 
 EXEC(ENABLE)           1     configure  terminal 
 EXEC(VIEW)             0     enable 
 EXEC(ENABLE)           0     show 
 3 entry(s) found. 
SWITCH(config)# 
 
In the above configuration, as level 0, it is possible to use only show command in Privi-