Each top-level command-line interface (CLI) command and each configuration statement have an access privilege level associated with it. Users can execute only those commands and configure and view only those statements for which they have access privileges. The access privileges for each login class are defined by one or more permission flags.
For each login class, you can explicitly deny or allow the use of operational and configuration mode commands that would otherwise be permitted or not allowed by a privilege level specified in the permissions statement.
The following sections provide additional information:
The permissions statement specifies one or more of the permission flags listed in Table 7. Permission flags are not cumulative, so for each class you must list all the permission flags needed, including view to display information and configure to enter configuration mode. Two forms for the permissions control the individual parts of the configuration:
Table 7 lists the JUNOS Software login class permission flags that you can configure by including the permissions statement at the [edit system login class class-name] hierarchy level:
Table 7: Login Class Permission Flags
By default, all top-level CLI commands have associated access privilege levels. Users can execute only those commands and view only those statements for which they have access privileges. For each login class, you can explicitly deny or allow the use of operational and configuration mode commands that would otherwise be permitted or not allowed by a privilege level specified in the permissions statement.
![]() |
Note: The all login class permission bits take precedence over extended regular expressions when a user with rollback permission issues the rollback command. Expressions used to allow and deny commands for users on RADIUS/TACACS+ servers have been simplified. Instead of a single, long expression with multiple commands (allow-commands=cmd1 cmd2 cmdn) you can specify each command as a separate expression. This new syntax is valid for allow-configuration and deny-configuration, allow-command and deny-command, and user-permissions. Users cannot issue the load override command when specifying an extended regular expression. Users can only issue the merge, replace, and patch configuration commands. |