The admin-user privilege level command configures a user as an administrator to log in to the device and sets the user privilege level.
The undo admin-user privilege level command cancels the default user privilege level.
By default, the user privilege level is not specified.
Parameter |
Description |
Value |
---|---|---|
level |
Specifies a user privilege level. A larger value indicates a higher user privilege level. After logging in to the device, a user can run only the commands at the same or lower privilege levels. |
The value is an integer that ranges from 0 to 15. |
Usage Scenario
The device provides hierarchical management of commands. A command has a privilege level, and a user can run only the commands at the same or lower privilege levels. By using the admin-user privilege level command to set the user privilege level, the device controls commands used by users.
To manage users in a refined manner, upgrade command privilege levels to levels 0 to 15. You can run the command-privilege level command to upgrade command privilege levels in a batch. You can also run the command-privilege level rearrange command to increase privilege levels.
The device can update the configuration in a domain dynamically. After a service scheme is applied to a domain, you can directly modify the user privilege level in the service scheme but cannot unbind the service scheme from the domain. To delete the service scheme, run the undo service-scheme (AAA domain view) command.
Follow-up Procedure
Run the display service-scheme command to view the user privilege level in a service scheme.