Setting the Level of a
Command in a Specific
View
c
<4210> super 3
Password:
User privilege level is 3, and only those commands can be used
whose level is equal or less than this.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
# After configuring the switch, the general user switches back to user level 0.
<4210> super 0
User privilege level is 0, and only those commands can be used
whose level is equal or less than this.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
Setting the level of a command in a specific view
Commands fall into four levels:
visit (level 0)
■
monitor (level 1)
■
system (level 2)
■
manage (level 3).
■
By using the following command, the administrator can change the level of a
command in a specific view as required.
Table 3 Set the level of a command in a specific view
Operation
Enter system view
Configure the level of a
command in a specific view
CAUTION:
3Com recommends that you do not to change the level of a command
■
arbitrarily, for it may cause problems when operating and maintaining the
switch.
When you change the level of a command with multiple keywords, you should
■
input the keywords one by one in the order they appear in the command
syntax. Otherwise, your configuration will not take effect.
Configuration example
The network administrator (a level 3 user) changes TFTP commands (such as tftp
get) from level 3 to level 0, so that general Telnet users (level 0 users) are able to
download files through TFTP.
# Change the tftp get command in user view (shell) from level 3 to level 0. (By
default, only level 3 users can change the level of a command.)
<4210> system-view
[4210] command-privilege level 0 view shell tftp
[4210] command-privilege level 0 view shell tftp 192.168.0.1
[4210] command-privilege level 0 view shell tftp 192.168.0.1 get
[4210] command-privilege level 0 view shell tftp 192.168.0.1 get bootrom.btm
Command
system-view
command-privilege level
level view view command
Command Hierarchy
13
Remarks
-
Required