nv show system aaa role
|
|
nv show system aaa role Shows the roles and their classes. |
|
Syntax Description |
N/A |
|
Default |
N/A |
|
History |
25.02.3000 |
|
Example |
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/role |
|
Related Commands |
nv show system aaa role <role-id>
|
|
Notes |
|
nv show system aaa role id
|
|
nv show system aaa role <role-id> Shows the configuration of a role. |
|
|
Syntax Description |
role-id |
The name of the role (for example, admin or monitor) |
|
Default |
N/A |
|
|
History |
25.02.3000 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/role/<role-id> |
|
|
Related Commands |
nv show system aaa role
|
|
|
Notes |
admin: full administrative access
|
|
nv show system aaa class
|
|
nv show system aaa class Shows the configuration and state of all classes. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.3000 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/class |
|
|
Related Commands |
nv set system aaa class <class-id> command-path <command-path-id>
|
|
|
Notes |
|
|
nv show system aaa class id
|
|
nv show system aaa class <class-id> Shows the configuration and state of a class. |
|
|
Syntax Description |
class-id |
The name of the class. |
|
Default |
N/A |
|
|
History |
25.02.3000 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/class/<class-id> |
|
|
Related Commands |
nv set system aaa class <class-id> command-path <command-path-id>
|
|
|
Notes |
|
|
nv show system aaa class id command-path
|
|
nv show system aaa class <class-id> command-path [<command-path-id>] Shows the command paths of a class. |
|
|
Syntax Description |
class-id |
The name of the class |
|
command-path-id |
The command path (e.g., /interface/eth0) |
|
|
Default |
N/A |
|
|
History |
25.02.3000 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/class/<class-id>/command-path/<command-path-id> |
|
|
Related Commands |
nv set system aaa class <class-id> command-path <command-path-id>
|
|
|
Notes |
|
|
nv set/unset system aaa class action
|
|
nv set system aaa class <class-id> action <arg>
Sets the action to take when a command matches the command paths of the class.
|
|
|
Syntax Description
|
class-id |
The name of the class |
|
arg |
The action to be taken upon getting a match on the command paths
|
|
|
Default |
allow |
|
|
History |
25.02.3000 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/class/<class-id>/action |
|
|
Related Commands |
nv show system aaa class <class-id> |
|
|
Notes |
|
|
nv set/unset system aaa class command-path
|
|
nv set system aaa class <class-id> command-path [<command-path-id>] [permission <permission>]
Sets a command path and its permission for a class.
|
|
|
Syntax Description
|
class-id |
The name of the class |
|
command-path-id |
The command path (e.g., /interface/eth0) |
|
|
permission |
The permissions on the command path
|
|
|
Default |
all |
|
|
History |
25.02.3000 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/class/<class-id>/command-path/<command-path-id> |
|
|
Related Commands |
nv set system aaa class <class-id> action <arg> |
|
|
Notes |
|
|
nv unset system aaa class
|
|
nv unset system aaa class [<class-id>] Deletes a class. |
|
|
Syntax Description |
class-id |
The name of the class |
|
Default |
N/A |
|
|
History |
25.02.3000 |
|
|
Example |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/system/aaa/class/<class-id> |
|
|
Related Commands |
nv set system aaa class <class-id> command-path <command-path-id>
|
|
|
Notes |
You cannot delete a class that is part of a role. |
|
nv set/unset system aaa role class
|
|
nv set system aaa role <role-id> class <class-id>
Adds a class to a role.
|
|
|
Syntax Description |
role-id |
The name of the role |
|
class-id |
The name of the class |
|
|
Default |
N/A |
|
|
History |
25.02.3000 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/role/<role-id>/class/<class-id> |
|
|
Related Commands |
nv set system aaa class <class-id> action <arg>
|
|
|
Notes |
|
|
nv unset system aaa role
|
|
nv unset system aaa role <role-id> Deletes a role. |
|
|
Syntax Description |
role-id |
The name of the role |
|
Default |
N/A |
|
|
History |
25.02.3000 |
|
|
Example |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/system/aaa/role/<role-id> |
|
|
Related Commands |
nv set system aaa role <role-id> class <class-id> |
|
|
Notes |
You cannot delete a role that is assigned to a user. |
|
Last updated: