Mapping OpenConfig AAA Commands to Junos Operation
See OpenConfig Data Model Version topic to understand the data models supported version and its Junos OS release for Juniper Networks ACX Series, EX Series, MX Series, PTX Series, and QFX Series.
The following tables show the mapping of OpenConfig AAA configurations with the relevant configuration in Junos OS.
- Table 1: Global AAA Configuration
- Table 2: RADIUS Server Configuration
- Table 3: Accounting Event Configuration
- Table 4: Accounting-method Configuration
- Table 5: Authorization Roles Configuration
- Table 6: Authorization Permissions Configuration: Authorization Permissions Configuration
- Table 7: Authorization Permissions Configuration
- Table 8: Authorization Policies and request-regex Configuration
- Table 9Table 9: TACACS Server Configuration
- Table 10: AAA Admin and User Configuration
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /system/aaa |
||
Config-Name |
|
Not supported Note:
There is no equivalent configuration in the Junos OS for this path. The configured server group name is used in the RADIUS/TACACS attributes configuration. |
Server-Config-Address |
|
Not supported Note:
There is no equivalent configuration in the Junos OS for this path. The configured server address is used in the RADIUS/TACACS attributes configuration. |
Server-Config-Name |
|
Not supported Note:
There is no equivalent configuration in the Junos OS for this path. You can configure a server name to identify the server. |
Config-Timeout |
|
Not supported Note:
There is no equivalent configuration in the Junos OS for this
path. However, the timeout configured is derived from the
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /system/aaa |
||
Auth-Port |
|
Note:
The |
Retransmit-Attempts |
|
Note:
The |
Secret-Key |
|
Note:
The |
Source-Address |
|
Note:
The |
Command Name |
OpenConfig Configuration |
Junos Configuration |
---|---|---|
Event |
openconfig-system:system { aaa { accounting { events { event <event-type>{ config { event-type <value> } } } } } } |
system { accounting { events [ … ]; } } |
The OpenConfig configuration has two values for for
|
Command Name |
OpenConfig Configuration |
Junos Configuration |
---|---|---|
Accounting-method |
openconfig-system:system { aaa { accounting { config { accounting-method [ … ]; } } } } |
system { accounting { destination { radius / tacplus { server { <name> secret <>; <name> secret <>; } } } } } |
The OpenConfig values for |
Command Name |
OpenConfig Configuration |
Junos Configuration |
---|---|---|
Roles |
openconfig-system:system { aaa { authorization { roles { role <rolename> { ……… ………. } } } } } |
system { login { class <name> { ….. ….. } } } |
The OpenConfig user-defined |
Command Name |
OpenConfig Configuration |
Junos Configuration |
---|---|---|
Permissions |
openconfig-system:system { aaa { authorization { roles { role <rolename> { permissions [ … ]; } } |
system { login { class <name> { permissions [ … ]; } } } |
The OpenConfig user-defined Possible OpenConfig values for OpenConfig Junos ADMIN admin ADMIN CONTROL admin-control ALL all MAINTENANCE maintenance VIEW view VIEW_CONFIG view-configuration |
Command Name |
OpenConfig Configuration |
Junos Configuration |
---|---|---|
Permissions |
openconfig-system:system { aaa { authorization { roles { role foo { config { policies { policy PERMIT REQUEST_RPC { request-regex /gnmi.gNMI/Set; } } } } } } } } |
system { login { class foo { allow-grpc-rpc-regexps /gnmi.gNMI/Set; } } } |
Command Name |
OpenConfig Configuration |
Junos Configuration |
---|---|---|
Policies |
openconfig-system:system { aaa { authorization { roles { role foo { config { policies { policy <action> <request-type> { request-regex [ … ]; } } } } } } } |
system { login { class foo { deny-commands-regexps [ … ]; OR allow-commands-regexps [ … ]; OR deny-configuration-regexps [ … ]; OR allow-configuration-regexps [ … ]; OR deny-grpc-rpc-regexps [ … ]; OR allow-grpc-rpc-regexps [ … ]; } } } |
The OpenConfig action request-type OpenConfig request-regex translates to: PERMIT REQUEST_CONFIG allow-configuration-regexps DENY REQUEST_CONFIG deny-configuration-regexps PERMIT REQUEST_RPC allow-grpc-rpc-regexps DENY REQUEST_RPC deny-grpc-rpc-regexps PERMIT REQUEST_COMMAND allow-commands-regexps DENY REQUEST_COMMAND deny-commands-regexps |
||
Example |
openconfig-system:system { aaa { authorization { roles { role foo { config { rolename foo; policies { policy DENY REQUEST_COMMAND { request-regex [ "clear interfaces" "show interfaces" ]; } } } } } } } } |
system { login { class foo { deny-commands-regexps [ "clear interfaces" "show interfaces" ]; } } } |
Example |
openconfig-system:system { aaa { authorization { roles { role foo { config { policies { policy PERMIT REQUEST_RPC { request-regex /gnmi.gNMI/Set; } } } } } } } } |
system { login { class foo { allow-grpc-rpc-regexps /gnmi.gNMI/Set; } } } |
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /system/aaa |
||
Config-Port |
|
Note:
The |
Secret-Key |
|
Note:
The |
Source-Address |
|
Note:
The |
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /system/aaa |
||
Admin-Password |
|
Note:
The
|
Admin-Password-Hashed |
|
Note:
The |
Authentication-Method |
|
Note:
The |
Password |
|
Note:
The |
Password-Hashed |
|
Note:
The |
Role |
|
Note:
The |
Username |
|
Not supported Note:
There is no equivalent configuration in the Junos OS. |