Configuring Roles in Gaia Clish
You can:
-
Add, change, or delete roles.
-
Add or remove users to or from existing roles.
-
Add or remove access mechanism permissions for a specified user.
Syntax

add rba role <New Role Name> domain-type System all-features readonly-features <List of RO Features> readwrite-features <List of RW Features>} |
|
Note - You can add " |

add rba role <Existing Role Name> virtual-system-access 0 virtual-system-access all virtual-system-access VSID1,VSID2,...,VSIDn |

add rba user <User Name> access-mechanisms Web-UI access-mechanisms CLI access-mechanisms Web-UI,CLI |

|

show rba all role <Role Name> roles user <User Name> users |

|

delete rba role <Role Name> readonly-features <List of RO Features> readwrite-features <List of RW Features> |
|
Note - You can delete " |

delete rba user <User Name> access-mechanisms Web-UI access-mechanisms CLI access-mechanisms Web-UI,CLI |

|
|
Important - After you add, configure, or delete features, run the " |
|
Notes:
|
Parameters

Parameter |
Description |
||||
---|---|---|---|---|---|
|
Role name as a character string that contains letters, numbers or the underscore (_) character. The role name must start with a letter. |
||||
|
Reserved for future use. |
||||
|
Specifies which VSX
|
||||
|
Grants read-write permissions to all features.
|
||||
|
A comma-separated list of Gaia See:
|
||||
|
A comma-separated list of Gaia features that have read-write permissions in the specified role. See:
|
||||
|
User, to which access mechanism permissions and roles are assigned. |
||||
|
Comma-separated list of role names that are assigned to or removed from the specified user (spaces are not allowed in this syntax). |
||||
|
Defines the access mechanisms that users can work with to manage Gaia:
|

gaia> add rba role NewRole domain-type System readonly-features vpn,ospf,rba readwrite-features snmp gaia> show rba role NewRole Role NewRole domain-type System read-write-feature snmp read-only-feature vpn,ospf,rba gaia> gaia> add rba user John roles NewRole gaia> add rba user John access-mechanisms Web-UI,CLI gaia> show rba user John User John access-mechanism CLI access-mechanism Web-UI role NewRole gaia> gaia> delete rba user John roles NewRole gaia> delete rba role NewRole |