ip lisp source-locator
To configure a source locator to be used for IPv4 Locator/ID Separation Protocol (LISP) encapsulated packets, use the ip lisp source-locator command in interface configuration mode. To remove the configured source locator, use the no form of this command.
ip lisp source-locator interface
no ip lisp source-locator interface
Syntax Description
interface |
The name of the interface whose IPv4 address should be used as the source locator address for outbound LISP encapsulated packets. |
Command Default
The IPv4 address of the outbound interface is used by default as the source locator address for outbound LISP encapsulated packets.
Command Modes
Interface configuration (config-if)
Command History
Release |
Modification |
---|---|
15.1(1)XB |
This command was introduced. |
Cisco IOS XE Release 2.5.1XA |
This command was integrated into Cisco IOS XE Release 2.5.1XA |
Cisco IOS XE Release 3.3.0S |
This command was integrated into Cisco IOS XE Release 3.3.0S. |
15.1(4)M |
This command was integrated into Cisco IOS Release 15.1(4)M. |
Usage Guidelines
When you send a LISP-encapsulated packet (data or control message), a destination lookup is done to determine the appropriate outgoing interface. By default, the IPv4 address of this outgoing interface is used as the source locator for the outbound LISP encapsulated packet.
It might be necessary to use the IPv4 address of a different interface as the source locator for the outbound LISP-encapsulated packets rather than that of the outgoing interface. For example, when an Ingress Tunnel Router (ITR) has multiple egress interfaces, you can configure a loopback interface for stability purposes and instruct the ITR to use the address of this loopback interface as the source locator for the outbound LISP-encapsulated packets rather than one or both of the physical interface addresses. The use of this command is also important for maintaining locator consistency between the two xTRs when rloc-probing is used.
Examples
The following example shows how to configure the ITR to use the IPv4 address of interface Loopback0 as the source-locator when LISP encapsulated packets are sent out interfaces FastEthernet0/0 and FastEthernet1/0:
Router(config)# interface FastEthernet0/0
Router(config-if)# ip lisp source-locator Loopback0
Router(config-if)# interface FastEthernet1/0
Router(config-if)# ip lisp source-locator Loopback0
Note |
In Cisco IOS XE Releases, the FastEthernet interfaces require three values to define the interface (for example, FastEthernet 1/0/1). |