How to set the command level in the specified view

56

The procedure for setting the command level in the specified view is as follows:
Command format:
command-privilege level < level > view < view-name > < command-key >
To adjust the command level, see the following examples:
Example 1: Set the level of the save command to 5.
[Huawei] command-privilege level 5 view user save
Example 2: Adjust the permission of the configuration file to a lower-level command.
[Huawei]command-privilege level 2 view system display current-configuration

The system grants different command levels. Each command in each view has a specified level. The administrator can change the command level based on user requirements to enable a lower-level user to use some high-level commands, or raise the command level to improve device security.
It is recommended that the default command level be not changed without permission.

Other related questions:
How to increase the level of commands in different views
By default, a switch has four user levels, ranging from 0 to 3. To increase the level of a command in a view, run the command-privilege level command. For example, a level 3 user can use the delete or format command in the user view to delete the startup file or format the storage device that saves the startup file. To increase the level of the delete and format commands, create a user account of a higher level and run the following commands: command-privilege level 15 view shell delete Only level 15 users can use the commands starting with delete in the user view (shell). command-privilege level 15 view shell format Only level 15 users can use the commands starting with format in the user view (shell).

How do I define the command level

The administrator can run the command-privilege level level view view-name command-key command to set the command level in a specified view. This configuration enables a lower-level user to use some high-level commands, or raises the command level to improve device security.

NOTICE:

It is recommended that you do not change the default command level without the guidance of professionals. Otherwise, it may result in inconvenience for operation and maintenance and bring about security problems.

<Huawei> system-view
[Huawei] command-privilege level 5 view user save

How to view optical power parameters
Run the display transceiver interface command to view optical power parameters. For example: display transceiver interface gigabitethernet 0/0/1 verbose GigabitEthernet0/0/1 transceiver information: ------------------------------------------------------------- Common information: Transceiver Type :1000_BASE_SX_SFP Connector Type :LC Wavelength(nm) :850 Transfer Distance(m) :300(50um),150(62.5um) Digital Diagnostic Monitoring :YES Vendor Name :SumitomoElectric Ordering Name : ------------------------------------------------------------- Manufacture information: Manu. Serial Number :88K056C10353 Manufacturing Date :2008-08-08 Vendor Name :SumitomoElectric ------------------------------------------------------------- Diagnostic information: Temperature(??C) :26.00 Temp High Threshold(??C) :85.00 Temp Low Threshold(??C) :-40.00 Voltage(V) :3.29 Volt High Threshold(V) :3.64 Volt Low Threshold(V) :2.95 Bias Current(mA) :4.57 Bias High Threshold(mA) :9.00 Bias Low Threshold(mA) :2.00 RX Power(dBM) :-40.00 RX Power High Threshold(dBM) :0.00 RX Power Low Threshold(dBM) :-16.99 TX Power(dBM) :-5.03 TX Power High Threshold(dBM) :-2.22 TX Power Low Threshold(dBM) :-6.99 -------------------------------------------------------------

Viewing the administrator level on the USG6000
View the administrator level on the USG6000 as follows: [USG6600]display manager-user username admin 17:47:00 2015/04/21 ---------------------------------------------------------------------------- Username : admin Password : **************** State : Active Service-type : web ftp telnet terminal ssh ACL-number : - Access-limit : No Online-number : 1 User-level : 15 FTP-directory : hda1: Ssh authentication: any Ssh service : stelnet Ssh RSA-key : -

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top