efa auth tacacsconfig rolemapping

TACACS rolemapping configuration commands

Syntax

efa auth tacacsconfig rolemapping add [ --xcoRole string | --tacacsRole string | --host string ]
efa auth tacacsconfig rolemapping show
efa auth tacacsconfig rolemapping delete [ | --host string | --tacacsRole string ]

Parameters

--xcoRole string
XCO role.
--tacacsRole string
TACACS role
--host
Host IP of TACACS configuration registered

Examples

The follwing example adds a TACAS configuration.

efa auth tacacsconfig rolemapping add --xcoRole=SystemAdmin --tacacsRole=admin --host=10.37.135.12
 Successfully added the tacacs configuration.
                
+--------------+-------------+-------------+-----------------------------------------------------+
| Host         | TACACS Role | XCO Role    | Description of XCO Role                             |
+--------------+-------------+-------------+-----------------------------------------------------+
| 10.37.135.12 | admin       | SystemAdmin | Complete privileges to all operations in the system |
+--------------+-------------+-------------+-----------------------------------------------------+

The following example shows the TACAS configuration.

efa auth tacacsconfig rolemapping show
+--------------+-------------+-------------+-----------------------------------------------------+
| Host         | TACACS Role | XCO Role    | Description of XCO Role                             |
+--------------+-------------+-------------+-----------------------------------------------------+
| 10.37.135.12 | admin       | SystemAdmin | Complete privileges to all operations in the system |
+--------------+-------------+-------------+-----------------------------------------------------+

The following example deletes the specifed TACAS role from the specified host.

efa auth tacacsconfig rolemapping delete --host=10.37.135.12 --tacacsRole=admin
Deleted TACACS rolemapping configuration successfully