Configures a source IP address for Remote Authentication Dial-In User Service (RADIUS) packets that originate on the device.
When a source interface is not configured for a RADIUS host, the IP address of the interface through which a RADIUS packet exits the device is used in the IP header as the source IP address.
RADIUS server host VRF configuration mode
Note
When an interface without an IP address is configured as the source interface, the egress interface IP address is used as the source interface.Note
The source interface configuration should not conflict with the VRF specified for communications with the RADIUS server host; when the specified source interface is not part of the VRF configured for communications with the RADIUS server host, the egress interface IP address is used as the source interface.Modifications to the interface (such as changing the IP address, VRF, and so on) that is configured as the source interface, do not affect existing connections unless the corresponding link is dropped due to these changes.
The no form of the command restores the command default value.
The following example shows how to configure an Ethernet interface (0/2) as the source interface for RADIUS packets that originate on the device and are destined for the RADIUS server host 10.37.73.180.
device# configure terminal device(config)# radius-server host 10.37.73.180 use-vrf green-vrf device(config-host-10.37.73.180/green-vrf)# source-interface ethernet 0/2