Cisco IOS XR software supports per-VRF AAA on TACACS+ server groups.
Use the server-private and vrf commands to configure this feature.
You can refer to global server definitions from multiple server groups.
All references use the same server instance and connect to the same server.
For VRF, you do not need the global configuration because the server status, server statistics and the key could be different for different VRFs.
Use the server-private configuration to configure per-VRF TACACS+ server groups.
If the same server is used in different groups with different VRFs, ensure that the server is reachable through all those VRFs.
If you are migrating the servers to a VRF, it is safe to remove the global server configuration for that server.
The configuration groups different server hosts into distinct lists and enters server-group configuration mode.
You can enter one or more server commands.
The server command specifies the hostname or IP address of an external TACACS+ server.
AAA method lists can reference the configured server group for authentication, authorization, or accounting.
The server-private command configures the IP address and secret key of the private TACACS+ server that is reachable through a specific VRF.
You can configure multiple private server entries that are reachable through the same VRF.
The vrf option specifies the VRF reference for a AAA TACACS+ server group.