ip tacacs source-interface

Configures an interface as the source IP address from which the TACACS+ client establishes connections with TACACS+ servers.
Syntax
ip tacacs source-interface { ethernet stack-id/slot/port | loopback number | management number | ve number }
no ip tacacs source-interface { ethernet stack-id/slot/port| loopback number | management number | ve number }
Command Default

A TACACS+ source interface is not configured.

When a management VRF is configured, the TACACS+ client establishes connections with TACACS+ servers only through ports that belong to the management VRF and the out-of-band management port.

Parameters
ethernet stack-id/slot/port
Specifies the Ethernet interface to be used as the source IP address.
loopback number
Specifies the loopback interface to be used as the source IP address.
management number
Specifies the management interface to be used as the source IP address.
ve number
Specifies the Virtual Ethernet interface to be used as the source IP address.
Modes

Global configuration mode

Usage Guidelines

For the TACACS+ client, a change in the management VRF configuration does not affect the existing TACACS+ connections. The changes are applied only to new TACACS+ connections.

The TACACS+ source interface configuration command ip tacacs source-interface must be compatible with the management VRF configuration.

The no form of the command removes the configured interface as the source IP address.

Examples

The following example configures an Ethernet interface as the source IP address for the TACACS+ client to establish connections with TACACS+ servers.

device(config)# ip tacacs source-interface ethernet 1/1/1

The following example configures a Virtual Ethernet interface as the source IP address for the TACACS+ client to establish connections with TACACS+ servers.

device(config)# ip tacacs source-interface ve 1