The command-privilege level command sets a command level in a specified view.
The undo command-privilege command restores the default level.
By default, each command in each view has a default command level.
command-privilege level level view view-name command-key
undo command-privilege [ level level ] view view-name command-key
Parameter | Description | Value |
---|---|---|
level level | Specifies a command level. | The value is an integer that ranges from 0 to 15. |
view view-name | Specifies a view name. You can enter a question mark (?) in the terminal GUI to obtain all view names in the command view. For example:
|
- |
command-key | Specifies a command. The command must be entered manually because automatic command line completion is not supported. |
- |
Usage Scenario
The system divides commands into levels for management. Each command in views has a specified level. The device administrator can change a command level as required so that a lower-level user can use certain high-level commands. The device administrator can also increase the command level to a larger value to improve device security.
Precautions
The rules for using this command to set the command level of a specified view are as follows:
Do not change the default command level. If you need to change it, consult with professional personnel to ensure that routine operation and maintenance are not affected and security risks are avoided.