ip source-interface ubt


ip source-interface ubt {interface <IFNAME> | <IPV4-ADDR>} [vrf <VRF-NAME>]

no ip source-interface ubt [interface <IFNAME> | <IPV4-ADDR>] [vrf <VRF-NAME>]


Sets a single source IP address for UBT. This ensures that all traffic sent by UBT has the same source IP address, regardless of how it egresses the switch.

This command provides two ways to set the source IP addresses: either by specifying a static IP address, or by using the address assigned to a switch interface. If you define both options, then the static IP address takes precedence.

The no form of this command deletes the single source IP address for UBT.

Command contexts



interface <IFNAME>

Specifies the name of the interface from which UBT obtains its source IP address. The interface must have a valid IP address assigned to it. If the interface has both a primary and secondary IP address, the primary IP address is used.


Specifies the source IP address to use for UBT. The IP address must be defined on the switch, and it must exist on the specified VRF, Default: default. Specify the address in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255.

vrf <VRF-NAME>

Specifies the name of the VRF from which UBT sets its source IP address.


Administrators or local user group members with execution rights for this command.


On the 6400 Switch Series, interface identification differs.

Setting the IPv4 address as the source address for UBT:

switch# config
switch(config)# ip source-interface ubt

Configuring the secondary IPv4 address on interface 1/1/1 as the source address for UBT:

switch# config
switch(config)# interface 1/1/1
switch(config-if)# ip address ubt secondary

Clearing the source IP address

switch(config)# no ip source-interface ubt