DGS-3610 Series Configuration Guide Chapter 2 Configuration of Switch Basic Management
each mode. By configuring passwords for different levels, you can allow different authorized
levels to use different commands aggregate.
When no password is set for the privileged user level, no password is verified to enter into
the privileged level. For security, you are recommended to set the password for the
privileged user levels.
2.2.5 Configuration of Command
Authorization
You can assign the using right to the users with lower level if you want to have one command
used in more authorization levels. To use one command in less range of levels, you can
assign the using right to users with higher levels.
You can use following commands to make authorization to a command:
DGS-3610# configure terminal
Enter the global configuration mode.
DGS-3610(config)# privilege mode [all]
{level level | reset} command-string
Set the privilege level for a command.
Mode – The CLI command mode that the command to
be authorized is of. For example, config indicates the
global configuration mode, exec indicates the privilege
command mode, and interface indicates the interface
configuration mode.
All – change the privilege of all subcommand for the
specified command into the same privilege level.
level level – authorization level, the range is from 0 to
15. Level 1 is for the normal user level. Level 15 is for
the privileged user level. You can switch between
various levels by using the enable/disable command.
command-string - Specify the command to be
authorized.
To recover a given command privilege, use the no privilege mode [all] level level
command in the global configuration mode.
2.2.6 Example of Command Authorization
configuration
The following is the configuration process that authorizes the reload command and its
subcommand with the level 1, and set the level 1 as the effective level (by setting the
command as ―test‖):
DGS-3610# configure terminal
DGS-3610(config)# privilege exec all level 1 reload