Avi Vantage supports authentication and authorization of Avi Vantage users with TACACS+. TACACS+ is an open standards protocol that handles authentication and accounting (the first two “A”s in “AAA”).
TACACS+ AAA Settings
- TACACS+ Servers: TACACS+ server IP. Multiple servers can be specified. If the first server does not respond, Avi Vantage tries the next server. If that server also does not reply, the next server is tried, in round-robin fashion. Click Add Item to add a server.
- Port: TACACS+ server port (default 49).
- Password: TACACS+ server shared secret.
- TACACS+ Service: TACACS+ service type, used in all authentication and authorization queries.
- TACACS+ Authorization attributes: Set of attribute value pairs to identify the host. The TACACS+ server configures user-level authorization based on these attributes. Cisco Access Control Servers (ACSs) typically expect authorization attribute values for “service” and “protocol” to be populated in order to identify and authorize a Vantage user. Authorization attributes from a TACACS+ server can be used to map Avi Vantage users to various roles and tenants. If the attribute is required, click Mandatory. Click Add Attribute to add additional name-value pairs.
Authentication and Authorization Walkthrough
Authentication and authorization of a Vantage user with TACACS+ takes place as follows:
- AUTHEN START packet from Avi Vantage to TACACS+ server. Contains:
- AUTHEN REPLY packet from TACACS+ server to Avi Vantage. Contains status of type GETPASS indicating that password needs to be supplied for the user message field with text “Password.”
- AUTHEN CONTINUE packet from Avi Vantage to TACACS+ server. Contains user message field with actual password from user.
- AUTHEN REPLY packet from TACACS+ server to Avi Vantage. Contains:
- SUCCESS status if password is valid and user is allowed
- FAILED status
- AUTHOR START packet from Avi Vantage to TACACS+ server. Contains:
- Username of the user
- Remote address of the user
- Authorization attribute name, value and whether or not they are mandatory
- An authorization attribute string “abc=xyz” that indicates an attribute named “abc” is mandatory and has value “xyz”
- An authorization attribute string “abc*xyz” that indicates an attribute named “abc” is optional and has value “xyz”
- AUTHOR REPLY packet from TACACS+ server to Avi Vantage. Contains one of the following:
- PASS_ADD or PASS_REPL status, which authorizes the successfully authenticated user with attribute value pairs to be added or replaced.
- FAIL status, indicating the user is not authorized.
All TACACS+ packets are encrypted, whereas the 12-byte header is passed in the clear. Encryption is part of the TACACS+ standard and is compatible with all TACACS+ servers.
If an error is indicated in the Status field of any reply packet during this process, the user login is rejected and results in a failure.