Basic Operation Guide 2014/02

Example 89 Using a VLAN interface as the source IP address for TACACS
HP Switch(config)# ip source-interface tacacs vlan 22
HP Switch(config)# show ip source-interface tacacs
Source-IP Configuration Information
Protocol | Admin Selection Policy IP Interface IP Address
-------- + ----------------------- -------------- --------------
Tacacs | Configured IP Interface vlan 22 10.10.10.4
The next example shows a VLAN interface being specified as the source IP address for logging.
The administrative policy is Configured IP Interface.
Example 90 Using a VLAN interface as the source IP Address for logging (Syslog)
HP Switch(config)# ip source-interface syslog vlan 10
HP Switch(config)# show ip source-interface syslog
Source-IP Configuration Information
Protocol | Admin Selection Policy IP Interface IP Address
-------- + ----------------------- -------------- --------------
Syslog | Configured IP Interface vlan 10 10.10.10.10
Displaying the source IP interface information
There are several show commands that can be used to display information about the source IP
interface status.
Syntax:
show ip source-interface status [ radius | sflow | sntp | tacacs |
telnet | tftp | syslog ]
Displays the operational status information for the source IP address selection policy.
Both the administratively-assigned source IP selection policy and the operational
source IP selection policy are displayed.
When no parameters are specified, policy information for all protocols is displayed.
Example 91 The data displayed for source IP interface status
HP Switch(config)# show ip source-interface status
Source-IP Status Information
Protocol | Admin Selection Policy Oper Selection Policy
-------- + ----------------------- ----------------------
Tacacs | Configured IP Interface Configured IP Interface
Radius | Configured IP Address Configured IP Address
Syslog | Configured IP Interface Outgoing Interface
Telnet | Outgoing Interface Outgoing Interface
Tftp | Outgoing Interface Outgoing Interface
Sntp | Outgoing Interface Outgoing Interface
Sflow | Configured IP Address Configured IP Address
When executing the show ip source-interface status command without parameters, the configured
IP interfaces (VLANs) and IP addresses are displayed for each protocol.
120 Configuring IP Addressing