The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
To display the IPv4 Locator/ID Separation Protocol (LISP) configuration status, use the show ip lisp command.
show ip lisp
This command has no arguments or keywords.
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
This command does not require a license.
This example shows how to configure the LISP site and enter the site command mode:
switch# show ip lisp LISP IP Configuration Information for VRF “default” (iid 0) Ingress Tunnel Router (ITR): enabled Egress Tunnel Router (ETR): enabled Proxy-ITR Router (PTR): disabled Proxy-ETR Router (PETR): disabled Map Resolver (MR): disabled Map Server (MS): disabled Last-resort source locator: 172.22.156.23 LISP-NAT Interworking: disabled ITR send Map-Request: enabled ITR send Data-Probe: disabled LISP-ALT vrf: not configured ITR Map-Resolver: 172.22.156.35 ETR Map-Server(s): 172.22.156.35, 172.22.132.89 Last Map-Register sent to MS: 00:00:45 ETR glean mapping: disabled, verify disabled ETR accept mapping data: disabled, verify disabled ETR map-cache TTL: 24 hours Shortest EID-prefix allowed: /16 Use Proxy-ETRs: 172.16.2.1 Locator Reachability Algorithms: Echo-nonce algorithm: disabled TCP-counts algorithm: disabled RLOC-probe algorithm: disabled Static mappings configured: 0 Map-cache limit: 10000 Map-cache size: 3 ETR Database, global LSBs: 0x00000001: EID-prefix: 192.168.12.0/24, LSBs: 0x00000001 Locator: 172.22.156.23, priority: 1, weight: 100 Uptime: 09:27:15, state: up, local switch#
The following table describes the significant fields shown in the display.
Field | Description |
---|---|
Ingress Tunnel Router (ITR) | Whether the router is configured as an Ingress Tunnel Router (ITR). For more information, see the ip lisp itr command. |
Egress Tunnel Router (ETR) | Whether the router is configured as an ETR. For more information, see the ip lisp etr command. |
Proxy-ITR | Whether the router is configured as a PITR. For more information, see the ip lisp proxy-itr command. |
Map-Resolver (MR) | Whether the router is configured as an MR. For more information, see the ip lisp map-resolver command. |
Map-Server (MS) | Whether the router is configured as an MS. For more information, see the ip lisp map-server command. |
Last-resort source locator | Last-resort source locator for LISP messages. |
LISP-NAT Interworking | Whether the router is configured for LISP Network Address Translation (NAT). For more information, see the ip lisp translate command. |
ITR send Map-Request | Whether sending Map Requests is enabled. For more information, see the ip lisp itr map-resolver command. |
ITR send Data-Probe | Whether ip lisp itr send-data-probe is enabled. |
LISP-ALT vrf | Whether a LISP-ALT VRF configured and identifies the VRF name. For more information, see the ip lisp alt-vrf command. |
ITR Map-Resolver | Ingress Tunnel Router (ITR) Map Resolver. For more information, see the ip lisp itr map-resolver command. |
ETR Map-Server(s) | Configured ETR Map-Server(s). For more information, see the ip lisp etr map-server command. |
Last Map-Register sent to MS | This field indicates when this device last sent a Map-Registration message to the configured Map-Server(s). |
ETR glean mapping | Indicates whether the ETR is configured to glean mapping data contained in an encapsulated packet. For more information, see the ip lisp etr glean-mapping command. |
ETR accept mapping data | Whether the ETR is configured to cache the mapping data contained in a Map Request. For more information, see the ip lisp etr accept-map-request-mapping command. |
ETR map-cache TTL | Current ETR map-cache TTL. For more information, see the ip lisp etr map-cache-ttl command. |
Shortest EID-prefix allowed | EID prefix length accepted in a Map Reply. For more information, see the ip lisp shortest-eid-prefix-length command. |
Use Proxy-ETRs | Whether the router uses a PETR and lists the PETR locator. |
Locator Reachability Algorithms | Status of the available locator reachability algorithms (Echo-nonce, TCP-counts, RLOC-probing). For more information, see the lisp loc-reach-algorithm command. |
Static mappings configured | Number of static cache-map entries are configured.For more information, see the ipv6 lisp map-cache command. |
Map-cache limit | Indicates the current map cache limit and any configured reserve list. For more information, see the ip lisp map-cache-limit command. |
Map-cache size | Current number of entries in the map-cache. |
ETR Database | Global LSBs, configured EID prefixes, and locators. |
Command |
Description |
---|---|
ip lisp etr | Configures the router to act as an IPv4 LISP Egress Tunnel Router (ETR). |
ip lisp etr accept-map-request-mapping | Configures an ETR to cache IPv4 mapping data contained in a Map-Request message. |
ip lisp etr glean-mapping | Configures an ETR to glean inner header (EID) source address to outer header (RLOC) source address mappings from encapsulated data packets to its EID-to-RLOC cache IPv4 mapping data. |
ip lisp etr map-cache-ttl | Configures the TTL value inserted into a LISP Map-Reply message sent by an ETR in response to a Map-Request for an IPv4 EID-to-RLOC mapping. |
ip lisp etr map-server | Configured the IPv4 or IPv6 locator address of the LISP Map-Server to which an ETR should register for its IPv4 EID prefixes. |
ip lisp itr | Configures ure the router to act as an IPv4 LISP Ingress Tunnel Router (ITR) |
ip lisp itr map-resolver | Configures the IPv4 or IPv6 locator address of the LISP Map-Resolver to which the Ingress Tunnel Router (ITR) sends IPv4 Map-Request messages. |
ip lisp itr send-data-probes | Configures an Ingress Tunnel Router (ITR) or PITR to send a data probe rather than a Map-Request message for IPv4 EID-to-RLOC mapping resolution. |
ip lisp map-cache | Configures a static IPv4 EID prefix to the locator map-cache entry. |
ip lisp map-cache-limit | Configures the maximum number of IPv4 LISP map-cache entries allowed to be stored by the router. |
ip lisp source- locator | Configures a source locator to be used for an IPv4 LISP encapsulated packets. |
ip lisp proxy-etr | Configures the router to act as an IPv4 LISP Proxy Egress Tunnel Router (PETR). |
ip lisp proxy-itr | Configures the router to act as an IPv4 LISP Proxy Ingress Tunnel Router (PITR). |
ip lisp use-petr | Configures an Ingress Tunnel Router (ITR) or PITR to use the PETR for traffic destined to non-LISP IPv4 destinations. |
To display Locator/ID Separator Protocol (LISP) Egress Tunnel Router (ETR) configured local IPv4 endpoint identifier (EID) prefixes and associated locator sets, use the show ip lisp database command in privileged EXEC mode.
show ip lisp database [ vrf vrf-name ]
vrf vrf-name |
Displays information for the specified virtual routing and forwarding (VRF) instance. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
This command does not require a license.
This example shows how to display the configured local IPv4 EID prefixes and associated locator sets:
switch# show running configuration ...<skip>... ! ip lisp database-mapping 192.168.12.0/24 172.22.156.23 priority 1 weight 100 ! switch# show ip lisp database LISP ETR IP Mapping Database for VRF "default" (iid 0), global LSBs: 0x00000001 EID-prefix: 192.168.12.0/24, instance-id: 0, LSBs: 0x00000001 Locator: 172.22.156.23, priority: 1, weight: 100 Uptime: 10:36:59, state: up, local switch#
Command |
Description |
---|---|
ip lisp database-mapping |
Configures an IPv4 EID-to-RLOC mapping relationship and its associated traffic policy. |
To display the Locator ID/Separation Protocol IPv4 endpoint identifier to Routing Locator (LISP) IPv4 EID-to-RLOC data-cache mapping on an Ingress Tunnel Router (ITR), use the show ip lisp data-cache command.
show ip lisp data-cache [destination-EID]
destination-EID |
(Optional) Destination EID to display mapping for. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
Data-cache mappings are built when a Map-Request is sent and are maintained until a valid (matching nonce) Map Reply is received. The data-cache entry is then moved to the map cache.
This command does not require a license.
This example shows how to display the LISP IPv4 EID-to-RLOC data-cache mapping on an Ingress Tunnel Router (ITR):
switch# show ip lisp data-cache LISP IP Mapping Data Cache for Context “default”, 0 entries, hwm: 4 Complete entries removed after 15-second period: 0 Incomplete entries removed after 1-minute period: 0 switch#
Command |
Description |
---|---|
ip lisp map-cache |
Displays the current dynamic and static IPv4 EID-to-RLOC map-cache entries. |
To display source and destination locators that are used for a given IPv4 source and destination endpoint identifier (EID) pair, use the show ip lisp locator-hash command.
show ip lisp locator-hash { source-EID dest-EID | dest-EID-prefix } [ vrf vrf-name ]
source-EID |
IPv4 source EID. |
dest-EID |
IPv4 destination EID. |
dest-EID-prefix |
IPv4 destination EID prefix. |
vrf vrf-name |
(Optional) Specifies the VRF within which to resolve EIDs. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The source locator is chosen based on the source EID from the EID prefix database configured by using the ip lisp etr database-mapping command. The destination locator is selected by finding the destination EID in the EID-to-Routing Locator (RLOC) map cache.
When the dest-EID-prefix argument is used, the locator hash array indicates which locator is used for each of 25 different flow hash buckets.
When you enter the vrf keyword, IPv4 EIDs are resolved within the specified VRF in order to display the locator hash.
This command does not require a license.
This example shows how to display source and destination locators that are used for a given IPv4 source and destination EID pair:
switch# show ip lisp database LISP ETR IP Mapping Database for VRF “default”, global LSBs: 0x00000001 EID-prefix: 153.16.12.0/24, LSBs: 0x00000001 Locator: 128.223.156.23, priority: 1, weight: 100 Uptime: 04:14:41, state: up, local switch# show ip lisp map-cache ---<skip>--- 153.16.11.0/24, uptime: 04:12:35, expires: 19:47:24, via map-reply, auth Locator Uptime State Priority/ Data Control Weight in/out in/out 67.169.7.150 04:12:35 up 1/100 1968/1967 3/2 switch# show ip lisp locator-hash 153.16.12.1 153.16.11.1 EIDs 153.16.12.1 -> 153.16.11.1 yields: RLOCs 128.223.156.23 -> 67.169.7.150 Address hash: 0x07 (7), hash bucket: 7, RLOC index: 0 switch#
Command |
Description |
---|---|
ip lisp database-mapping |
Configures an IPv4 EID-to-RLOC mapping relationship and its associated traffic policy. |
To display the current dynamic and static IPv4 endpoint identifier to Routing Locator (EID-to-RLOC) map-cache entries, use the show ip lisp map-cache command.
show ip lisp map-cache [ destination-EID | destination-EID-prefix/prefix-length | vrf vrf-name ]
destination-EID |
(Optional) Destination EID to display mapping for. |
destination-EID-prefix/prefix-length |
(Optional) Destination EID prefix to display mapping for. |
vrf vrf-name |
(Optional) Displays detailed EID-to-RLOC cache mapping information for the referenced virtual routing and forwarding (VRF) instance. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
When no IPv4 EID or IPv4 EID prefix is specified, a summary of information is listed for all current dynamic and static IPv4 EID-to-RLOC map-cache entries. When you specify an IPv4 EID or IPv4 EID prefix, information is listed for the longest-match lookup in the cache. When you use the vrf keyword, summary information related to the referenced VRF name is listed.
This command does not require a license.
This example shows how to display a summary list of current dynamic and static IPv4 EID-to-RLOC map-cache entries:
switch# show ip lisp map-cache LISP IP Mapping Cache for VRF “default”, 4 entries 153.16.1.0/24, uptime: 04:41:40, expires: 19:18:19, via map-reply, auth Locator Uptime State Priority/ Data Control Weight in/out in/out 129.250.1.255 04:41:40 up 254/0 0/0 0/0 129.250.26.242 04:41:40 up 1/100 1139/1138 1/0 ---<skip>--- switch#
This example shows how to display a specific IPv4 EID prefix information that is associated with that IPv4 EID prefix entry:
switch# show ip lisp map-cache 153.16.11.0/24 LISP IP Mapping Cache for VRF “default”, 4 entries 153.16.11.0/24, uptime: 04:43:21, expires: 19:16:38, via map-reply, auth State: complete, last modified: 04:43:21, map-source: 67.169.7.150 Locator Uptime State Priority/ Data Control Weight in/out in/out 67.169.7.150 04:43:21 up 1/100 2214/2213 3/2 Last up/down state change: 04:43:21, state change count: 0 Last data packet in/out: 00:00:14/00:00:14 Last control packet in/out: 00:45:23/00:45:23 Last priority/weight change: never/never switch#
Command |
Description |
---|---|
show ip lisp |
Displays the IPv4 LISP configuration status for the local device. |
To display Locator/ID Separation Protocol (LISP) IPv4 address-family packet count statistics, use the show ip lisp statistics command.
show ip lisp statistics
This command has no arguments or keywords.
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
This command does not require a license.
This example shows how to display LISP IPv4 address-family packet count statistics:
switch# show ip lisp statistics LISP Statistics for VRF “default” - last cleared: never Data Forwarding: IPv4-in-IPv4 encap/decap packets: 4687/33220 IPv4-in-IPv6 encap/decap packets: 0/3555 Translated packets in/out: 0/0 Map-cache lookup succeeded/failed: 5908/78 LISP-ALT lookup succeeded/failed: 0/0 Packets with SMRs in/out: 0/0 Loc-reach-bit changes local/remote: 0/0 Control Packets: Data-Probes in/out: 0/0 Map-Requests in/out: 654/90 Encapsulated Map-Requests in/out: 0/90 RLOC-probe Map-Requests in/out: 607/0 Map-Replies in/out: 73/654 Authoritative in/out: 4/654 Non-authoritative in/out: 69/0 Negative Map-Replies in/out: 69/0 RLOC-probe Map-Replies in/out: 0/607 Map-Registers in/out: 0/294 Authentication failures: 0 Errors: Encapsulations failed: 78 Map-Request format errors: 0 Map-Reply format errors: 0 Map-Reply spoof alerts: 0 Cache Related: Cache entries created/timed-out: 40/36 Number of EID-prefixes in map-cache: 4 Number of negative map-cache entries: 1 Number of translation cache entries: 0 Total number of RLOCs in map-cache: 6 Number of best-priority RLOCs: 5 Average RLOCs per EID-prefix: 1 switch#
Command |
Description |
---|---|
show ip lisp |
Displays the IPv4 LISP configuration status for the local device. |
To display the Locator/ID Separation Protocol (LISP) IPv4 address translation cache and statistics associated with each entry, use the show ip lisp translation-cache command.
show ip lisp translation-cache [non-routable-EID]
non-routable-EID |
(Optional) IPv4 address of the inside nonroutable endpoint identifier (EID). |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The show ip lisp translation-cache command is applicable only when the ip lisp translate command is used to configure LISP translation.
When you use the non-routable-EID argument, only the statistics associated with that single translation appear.
This command does not require a license.
This example shows how to display the LISP IPv4 address translation cache and statistics associated with each entry:
switch# show ip lisp translation-cache LISP EID Translation Cache for VRF “default” - 1 entries Inside: 10.1.1.1 outside: 172.16.1.1, ingress/egress count: 0/0 Last ingress packet: never, last egress packet: never switch#
Command |
Description |
---|---|
show ip lisp |
Displays the IPv4 LISP configuration status for the local device. |
To display the detailed route attributes, use the show ip mroute detail command.
show ip mroute detail
This command has no arguments or keywords.
None
VRF configuration mode
Release |
Modification |
---|---|
6.2(2) |
This command was introduced. |
This command does not require a license.
This example shows how to display the Locator ID/Separation Protocol (LISP) IPv4 address translation cache and statistics associated with each entry:
switch(config)# vrf context management switch(config-vrf)# show ip mroute detail IP Multicast Routing Table for VRF “default” Total number of routes: 0 Total number of (*,G) routes: 0 Total number of (S,G) routes: 0 Total number of (*,G-prefix) routes: 0 switch(config-vrf)#
Command |
Description |
---|---|
show ip lisp |
Displays the IPv4 LISP configuration status for the local device. |
To display the information about the LOcator ID/Separation Protocol (LISP) encapsulation, use the show ip pim lisp encap command.
show ip pim lisp encap
This command has no arguments or keywords.
None
VRF configuration mode
Release |
Modification |
---|---|
6.2(2) |
This command was introduced. |
This command does not require a license.
This example shows how to display the information about the LISP encapsulation:
switch(config)# vrf context management switch(config-vrf)# show ip pim lisp encap switch(config-vrf)#
Command |
Description |
---|---|
show ip lisp |
Displays the IPv4 LISP configuration status for the local device. |
To display the only IPv6 configuration status, use the show ipv6 lisp command.
show ipv6 lisp
This command has no arguments or keywords
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
This command does not require a license.
This example shows how to display the Locator ID/Separation Protocol (LISP) IPv6 configuration status:
switch# show ipv6 lisp LISP IPv6 Configuration Information for VRF “default” (iid 0) Ingress Tunnel Router (ITR): enabled Egress Tunnel Router (ETR): enabled Proxy-ITR Router (PTR): disabled Proxy-ETR Router (PETR): disabled Map Resolver (MR): disabled Map Server (MS): disabled Last-resort source locator: 2001:db8:d01:9c::80df:9c17 LISP-NAT Interworking: disabled ITR send Map-Request: enabled ITR send Data-Probe: disabled LISP-ALT vrf: not configured ITR Map-Resolver: 172.22.156.35 ETR Map-Server(s): 172.22.156.35, 172.22.132.89 Last Map-Register sent to MS: 00:00:20 ETR glean mapping: disabled, verify disabled ETR accept mapping data: disabled, verify disabled ETR map-cache TTL: 24 hours Send IP Map-Reply: enabled Shortest EID-prefix allowed: /48 Use Proxy-ETRs: 172.16.2.1 Locator Reachability Algorithms: Echo-nonce algorithm: disabled TCP-counts algorithm: disabled RLOC-probe algorithm: disabled Static mappings configured: 0 Map-cache limit: 1000 Map-cache size: 3 ETR Database, global LSBs: 0x00000001: EID-prefix: 2001:db8:1203::/48, LSBs: 0x00000001 Locator: 172.22.156.23, priority: 1, weight: 100 Uptime: 09:27:51, state: up, local switch#
The following table describes the significant fields shown in the display.
Field |
Description |
---|---|
Ingress Tunnel Router (ITR) |
Whether the router is configured as an Ingress Tunnel Router (ITR). For more information, see the ipv6 lisp itr command. |
Egress Tunnel Router (ETR) |
Whether the router is configured as an ETR. For more information, see the ipv6 lisp etr command. |
Proxy-ITR |
Whether the router is configured as a PITR. For more information, see the ipv6 lisp proxy-itr command. |
Proxy-ETR |
Whether the router is configured as a PETR. For more information, see the ipv6 lisp proxy-etr command. |
Last-resort source locator |
Last-resort source locator for LISP messages. |
LISP-NAT Interworking |
Whether the router is configured for LISP Network Address Translation (NAT). For more information, see the ipv6 lisp translate command. |
ITR send Map-Request |
Whether sending Map Requests is enabled. For more information, see the ipv6 lisp itr map-resolver command. |
ITR send Data-Probe |
Whether IPv6 LISP Ingress Tunnel Router (ITR) send-data-probe is enabled. |
LISP-ALT vrf |
Whether a LISP-ALT VRF is configured and identifies the VRF name. For more information, see the ipv6 lisp alt-vrf command. |
ITR Map-Resolver |
Configured Ingress Tunnel Router (ITR) Map Resolver. For more information, see the ipv6 lisp itr map-resolver command. |
ETR Map-Server(s) |
Configured ETR Map Server. For more information, see the ipv6 lisp etr map-server command. |
Last Map-Register sent to MS |
When this device last sent a Map-Registration message to the configured Map Server. |
ETR glean mapping |
Whether the ETR is configured to glean mapping data contained in an encapsulated packet. For more information, see the ipv6 lisp etr glean-mapping command. |
ETR accept mapping data |
Whether the ETR is configured to cache the mapping data contained in a Map Request. For more information, see the ipv6 lisp etr accept-map-request-mapping command. |
ETR map-cache TTL |
Current ETR map-cache TTL. For more information, see the ipv6 lisp etr map-cache-ttl command. |
Shortest EID-prefix allowed |
EID prefix length accepted in a Map Reply. For more information, see the ipv6 lisp shortest-eid-prefix-length command. |
Use Proxy-ETRs |
Wether the router uses a PETR and lists the PETR locator. |
Locator Reachability Algorithms |
Status of the available locator reachability algorithms (Echo-nonce, TCP-counts, RLOC-probing). For more information, see the lisp loc-reach-algorithm command. |
Static mappings configured |
Number of static cache-map entries that are configured. For more information, see the ipv6 lisp map-cache command. |
Map-cache limit |
Current map-cache limit and any configured reserve list. For more information, see the ipv6 lisp map-cache-limit command. |
Map-cache size |
Current number of entries in the map cache. |
ETR Database |
Global LSBs, configured EID prefixes, and locators. |
Command |
Description |
---|---|
ip lisp etr |
Configures the router to act as an IPv4 LISP Egress Tunnel Router (ETR). |
ip lisp etr accept-map-request-mapping |
Configures an ETR to cache IPv4 mapping data contained in a Map-Request message. |
ip lisp etr glean-mapping
|
Configures an ETR to glean the inner header (EID) source address to the outer header (RLOC) source address mappings from encapsulated data packets to its IPv4 EID-to-RLOC data cache mapping. |
ip lisp etr map-cache-ttl |
Configures the TTL value inserted into a LISP Map Reply message sent by an ETR in response to a Map Request for an IPv4 EID-to-RLOC mapping. |
ip lisp etr map-server |
Configures the IPv4 or IPv6 locator address of the LISP Map Server to which an ETR should register for its IPv4 EID prefixes. |
ip lisp itr |
Configure the router to act as an IPv4 LISP Ingress Tunnel Router (ITR). |
ip lisp itr map-resolver |
Configures the IPv4 or IPv6 locator address of the LISP Map Resolver to which the Ingress Tunnel Router (ITR) sends IPv4 Map Request messages. |
ip lisp itr send-data-probes |
Configures an Ingress Tunnel Router (ITR) or PITR to a data probe rather than a Map-Request message for IPv4 EID-to-RLOC mapping resolution. |
ip lisp map-cache |
Configures a static IPv4 EID prefix to the locator map-cache entry. |
ip lisp map-cache-limit |
Configures the maximum number of IPv4 LISP map-cache entries allowed to be stored by the router. |
ip lisp source- locator |
Configures a source locator to be used for an IPv4 LISP-encapsulated packets. |
ip lisp proxy-etr |
Configures the router to act as an IPv4 LISP Proxy Egress Tunnel Router (PETR). |
ip lisp proxy-itr |
Configures the router to act as an IPv4 LISP Proxy Ingress Tunnel Router (PITR). |
ip lisp use-petr |
Configures an Ingress Tunnel Router (ITR) or PITR to use the PETR for traffic destined to non-LISP IPv4 destinations. |
To display Locator/ID Separation Protocol (LISP) Egress Tunnel Router (ETR) configured local IPv6 EID prefixes and associated locator sets, use the show ip lisp database command.
show ipv6 lisp database [ vrf vrf-name ]
vrf vrf-name |
(Optional) Displays information for the specified virtual routing and forwarding (VRF) instance. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
This command does not require a license.
This example shows how to display the configured local IPv6 EID prefixes and the associated locator sets:
switch# show ipv6 lisp database LISP ETR IPv6 Mapping Database for VRF “default” (iid 0), global LSBs: 0x0000000f EID-prefix: 2001:db8:1209::/48, instance-id: 0, LSBs: 0x0000000f 172.22.156.222, priority: 1, weight: 100, state: up, local switch#
Command |
Description |
---|---|
ipv6 lisp database-mapping |
Configures an IPv6 EID-to-RLOC mapping relationship and its associated traffic policy. |
To display the Locator/ID Separation Protocol (LISP) IPv6 endpoint identifier to Routing Locator (EID-to-RLOC) data-cache mapping on an Ingress Tunnel Router (ITR), use the show ipv6 lisp data-cache command.
show ipv6 lisp data-cache [destination-EID]
destination-EID |
(Optional) Destination EID to display mapping for. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
Data-cache mappings are built when a Map Request is sent and are maintained until a valid (matching nonce) Map Reply is received. The data-cache entry is then moved to the map cache.
This command does not require a license.
This example shows how to display the LISP IPv6 EID-to-RLOC data-cache mapping on an Ingress Tunnel Router (ITR):
switch# show ipv6 lisp data-cache LISP IPv6 Mapping Data Cache for Context “default”, 0 entries, hwm: 1 Complete entries removed after 15-second period: 0 Incomplete entries removed after 1-minute period: 1 switch#
Command |
Description |
---|---|
ipv6 lisp map-cache |
Displays the current dynamic and static IPv6 EID-to-RLOC map-cache entries. |
To display source and destination locators that are used for a given IPv6 source and destination endpoint identifier (EID) pair, use the show ip lisp locator-hash command.
show ipv6 lisp locator-hash [ source-EID dest-EID | dest-EID/prefix | vrf vrf-name ]
source-EID |
IPv6 source EID. |
dest-EID |
IPv6 destination EID. |
dest-EID-prefix |
IPv6 destination EID prefix. |
vrf vrf-name |
(Optional) Specifies the virtual routing and forwarding (VRF) insatnce with which to resolve EIDs. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The source locator is chosen based on the source EID from the EID prefix database that you configured by using the ipv6 lisp etr database-mapping command. The destination locator is selected by finding the destination EID in the EID-to- Routing Locator (RLOC) map cache.
When you use the dest-EID-prefix argument, the locator hash array appears, indicating which locator is used for each of 25 different flow hash buckets.
When you use the vrf keyword, IPv4 EIDs are resolved within the specified VRF in order to display the locator hash.
This command does not require a license.
This example shows how to display source and destination locators that are used for a given IPv6 source and destination EID pair:
switch# show ipv6 lisp map-cache ---<skip>--- 2610:d0:210f::/48, uptime: 04:18:39, expires: 19:41:20, via map-reply, auth Locator Uptime State Priority/ Data Control Weight in/out in/out 85.184.2.10 04:18:39 up 0/100 0/0 0/0 2001:6e0:4:2::2 04:18:39 up 0/100 0/0 0/0 switch# show ipv6 lisp locator-hash 2610:d0:1203::1 2610:d0:210f::1 EIDs 2610:d0:1203::1 -> 2610:d0:210f::1 yields: RLOCs 128.223.156.23 -> 85.184.2.10 Address hash: 0x00 (0), hash bucket: 0, RLOC index: 0 switch#
The example shows how to display the full locator hash bucket for the IPv6 destination EID prefix:
switch# show ipv6 lisp locator-hash 2610:d0:210f::/48 RLOC Hash Indexes for EID-prefix 2610:d0:210f::/48: [00000-00000-00000-00000-00000] switch#
Command |
Description |
---|---|
ipv6 lisp database-mapping |
Configures an IPv6 EID-to-RLOC mapping relationship and its associated traffic policy. |
To display the current dynamic and static IPv6 endpoint identifier to Routing Locator (EID-to-RLOC) map-cache entries, use the show ipv6 lisp map-cache command.
show ipv6 lisp map-cache [ destination-EID | destination-EID/prefix-prefix-length | vrf vrf-name ]
destination-EID |
(Optional) Destination EID to display mapping for. |
destination-EID-prefix/prefix-length |
(Optional) Destination EID prefix to display mapping for. |
vrf vrf-name |
(Optional) Displays detailed EID-to-RLOC cache mapping information for the referenced virtual routing and forwarding (VRF) instance. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
Use the show ipv6 lisp map-cache command to display the current dynamic and static IPv6 EID-to-RLOC map-cache entries. When you do not specify the IPv6 EID or IPv6 EID prefix, a summary of information is listed for all current dynamic and static IPv4 EID-to-RLOC map-cache entries.
This command does not require a license.
This example shows how to display a summary of current dynamic and static IPv6 EID-to-RLOC map-cache entries:
switch# show ipv6 lisp map-cache LISP IPv6 Mapping Cache for VRF “default”, 1 entries 2610:d0:210f::/48, uptime: 04:48:44, expires: 19:11:15, via map-reply, auth Locator Uptime State Priority/ Data Control Weight in/out in/out 85.184.2.10 04:48:44 up 0/100 0/0 0/0 2001:6e0:4:2::2 04:48:44 up 0/100 0/0 0/0 ---<skip>--- switch#
This example shows how to display information associated with that IPv6 EID prefix entry with a specific IPv6 EID prefix:
switch# show ipv6 lisp map-cache 2610:d0:210f::/48 LISP IPv6 Mapping Cache for VRF “default”, 1 entries 2610:d0:210f::/48, uptime: 04:50:43, expires: 19:09:16, via map-reply, auth State: complete, last modified: 04:50:43, map-source: 85.184.2.10 Locator Uptime State Priority/ Data Control Weight in/out in/out 85.184.2.10 04:50:43 up 0/100 0/0 0/0 Last up/down state change: 04:50:43, state change count: 0 Last data packet in/out: never/never Last control packet in/out: never/never Last priority/weight change: never/never 2001:6e0:4:2::2 04:50:43 up 0/100 0/0 0/0 Last up/down state change: 04:50:43, state change count: 0 Last data packet in/out: never/never Last control packet in/out: never/never Last priority/weight change: never/never switch#
Command |
Description |
---|---|
show ipv6 lisp |
Displays the IPv6 LISP configuration status for the local device. |
To display Locator ID/Separation Protocol (LISP) IPv6 address-family packet count statistics, use the show ipv6 lisp statistics command.
show ipv6 lisp statistics
This command has no arguments or keywords.
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
This command does not require a license.
This example shows how to display LISP IPv6 address-family packet count statistics:
switch# show ipv6 lisp statistics LISP Statistics for VRF “default” - last cleared: never Data Forwarding: IPv6-in-IPv4 encap/decap packets: 1239/0 IPv6-in-IPv6 encap/decap packets: 0/0 Translated packets in/out: 0/0 Map-cache lookup succeeded/failed: 2461/1260 LISP-ALT lookup succeeded/failed: 0/0 Packets with SMRs in/out: 0/0 Loc-reach-bit changes local/remote: 0/0 Control Packets: Data-Probes in/out: 0/0 Map-Requests in/out: 1219/1280 Encapsulated Map-Requests in/out: 0/1280 RLOC-probe Map-Requests in/out: 0/0 Map-Replies in/out: 1243/1217 Authoritative in/out: 1243/1219 Non-authoritative in/out: 0/0 Negative Map-Replies in/out: 0/0 RLOC-probe Map-Replies in/out: 0/0 Map-Registers in/out: 0/614 Authentication failures: 0 Errors: Encapsulations failed: 1260 Map-Request format errors: 0 Map-Reply format errors: 0 Map-Reply spoof alerts: 0 Cache Related: Cache entries created/timed-out: 32/27 Number of EID-prefixes in map-cache: 5 Number of negative map-cache entries: 4 Number of translation cache entries: 0 Total number of RLOCs in map-cache: 6 Number of best-priority RLOCs: 6 Average RLOCs per EID-prefix: 1 switch#
Command |
Description |
---|---|
show ipv6 lisp |
Displays the IPv6 LISP configuration status for the local device. |
To display the Locator/ID Separation Protocol (LISP) IPv6 address translation cache and statistics associated with each entry, use the show ipv6 lisp translation-cache command.
show ipv6 lisp translation-cache [non-routable-EID]
non-routable-EID |
(Optional) IPv4 address of the inside nonroutable endpoint (EID). |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The show ipv6 lisp translation-cache command is applicable only when the ipv6 lisp translate command is used to configure LISP translation.
When you use the non-routable-EID argument, only the statistics that are associated with that single translation are displayed.
This command does not require a license.
This example shows how to display the LISP IPv6 address translation cache and statistics associated with each entry:
switch# show ipv6 lisp translation-cache LISP EID Translation Cache for VRF “default” - 1 entries Inside: 2001:db8:aa::1 outside: 2001:db8:bb::1, ingress/egress count: 0/0 Last ingress packet: never, last egress packet: never switch#
Command |
Description |
---|---|
show ipv6 lisp |
Displays the IPv6 LISP configuration status for the local device. |
To display the Locator ID/Separation Protocol (LISP) Delegate Database Tree (DDT)map-resolver map-request queue, use the show lisp ddt queue command.
show lisp ddt queue [ eid-address | instance-id id eid-address | vrf vrf-name ]
eid-address |
IPv4 or IPv6 IP address. |
instance-id |
Displays the instance ID summary. |
id |
Instance ID for EID prefix. The range is from 0 to 16777215. The default value is 0. |
vrf |
Displays the information for a virtual routing and forwarding (VRF) instance. |
vrf-name |
VRF name. The maximum size is 32 alphanumeric character. |
None
Global configuration mode
Release |
Modification |
---|---|
6.2(2) |
This command was introduced. |
This command does not require a license.
This example shows how to display the LISP DDT Map-Resolver map-request queue:
switch(config)# show lisp ddt queue switch(config)#
To display the Locator ID/Separation Protocol (LISP)- Delegated Database Tree (DDT) referral cache, use the show lisp ddt referral-cache command.
show lisp ddt referral-cache { eid-address vrf vrf-name | instance-id id eid-address vrf vrf-name }
eid-address |
IPv4 or IPv6 IP address. |
instance-id |
Displays the instance ID summary. |
id |
Instance ID for EID prefix. The range is from 0 to 16777215. The Default value is 0. |
vrf |
Displays the information for a virtual routing and forwarding (VRF) instance. |
vrf-name |
VRF name. The maximum size is 32 alphanumeric character. |
None
Global configuration mode
Release |
Modification |
---|---|
6.2(2) |
This command was introduced. |
This command does not require a license.
This example shows how to display the LISP-DDT referral cache:
switch(config)# show lisp ddt referral-cache switch(config)#
To display the configured Delegated Database Tree (DDT) root(s) and/or DDT delegation nodes on a switch enabled for Locator ID/Separator Protocol (LISP) DDT, use the show lisp ddt vrf command.
show lisp ddt vrf vrf-name
vrf-name |
Virtual Routing and Forwarding (VRF) name. The maximum size is 32 alphanumeric characters. |
None
Global configuration mode
network-adminnetwork-operatorvdc-admin vdc-operator
Release |
Modification |
---|---|
6.2(2) |
This command was introduced. |
This command does not require a license.
This example shows how to display the LISP information for a VRF instance:
switch(config)# show lisp ddt vrf 1 switch(config)#
To display the Locator/ID Separation Protocol (LISP) dynamic-endpoint identifiers (EIDs) configured and discovered on a device, use the show lisp dyanmic-eid command.
show lisp dyanmic-eid [summary] [dynamic-eid-name] [detail]
summary |
(Optional) Display a one-line summary of discovered dynamic EIDs. |
dynamic-eid-name |
(Optional) Displays the LISP dynamic-EID information for a single dynamic EID. |
detail |
(Optional) Displays the details of all displayed LISP dynamic EIDs. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
5.0(3.lisp) |
This command was modified. |
The displayed output includes the number of roaming dynamic-EIDs configured, associated database-mapping information, and the number of roaming dynamic EIDs.
When you use the summary keyword, a one-line listing appears per discovered dynamic EID. When the dynamic EID name entry is listed, information related to that single entry appears. When you use the detail keyword, a list of discovered roaming EIDs appears.
This command does not require a license.
This example shows how to display summary information related to all configured and discovered LISP dynamic EIDs:
switch# show lisp dynamic-eid LISP Dynamic EID Information for VRF "default" Dynamic-EID name: Darrel Database-mapping EID-prefix: 153.16.19.2/32, registering more-specifics Locator: 173.8.188.25, priority: 1, weight: 50, local Locator: 173.8.188.26, priority: 1, weight: 50, local Map-Server(s): 204.69.200.7 Number of roaming dynamic-EIDs discovered: 0 switch#
To display a list of Proxy-ITRs (PITRs) that have been discovered through Map Requests, use the show lisp proxy-itr command.
show lisp proxy-itr [ vrf vrf-name ]
vrf vrf-name |
(Optional) Specifies the virtual routing and forwarding (VRF) instance with which to clear the locator address of the PITR. |
None
Any command mode
Release |
Modification |
---|---|
5.0(3.lisp-80) |
This command was introduced. |
Because of the unidirectional nature of data flows for Proxy ITRs (PITRs), an xTR never has a map-cache entry that contains locators for PITRs. However, when an xTR receives a Map Request from a PITR for an endpoint identifier to Routing Locator (EID-to-RLOC) mapping resolution, the locator address of the PITR is saved (separately from the map cache) by an xTR. The number of locators currently cached is eight (8).
The show lisp proxy-itr command displays the list of PITRs that have been discovered through Map Requests. When you use the vrf keyword, all PITR locators associated with this VRF appears.
This command does not require a license.
This example shows how to display a list of PITRs that have been discovered through Map-Requests:
switch# show lisp proxy-itr Discovered Proxy-ITRs (PITRs) in VRF "default" 10.20.10.60 switch#
To display configured Locator/ID Separation Protocol (LISP) sites on a Map Server, use the show lisp site command.
show lisp site [ { EID | EID-prefix } [ [ instance-id iid ] | site-name ] [ vrf vrf-name ] [detail] ]
EID |
(Optional) Destination endpoint identifier (EID). |
EID-prefix |
(Optional) Instance id. |
instance-id iid |
(Optional) Displays LISP site information that matches this destination EID prefix. |
site-name |
(Optional) Site name. |
vrf vrf-name |
(Optional) Specifies the virtual routing and forwarding (VRF) instance. |
detail |
(Optional) Specifies the details of all displayed LISP site information when no other parameters are used. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The displayed output indicates whether a site is actively registered.
This command does not require a license.
This example shows how to display the configured LISP sites on a LISP Map Server:
switch# show lisp site LISP Site Registration Information for VRF “default” * = truncated IPv6 address Site Name Last Actively Who last EID-prefix Registered Registered Registered cisco-it-xtr 00:00:47 yes 172.16.81.170 2001:db8:110c::/48 00:00:18 yes 172.17.81.170 192.168.5.0/24 dmm-xtr-1 00:00:56 yes 172.30.156.134 2001:db8:1200::/48 00:00:56 yes 172.31.65.94 192.168.10.0/24 dmm-xtr-2 00:00:48 yes 172.30.156.23 2001:db8:1203::/48 never no -- 192.168.12.0/24 switch#
This example shows how to display detailed information that is related to a LISP site:
switch# show lisp site dmm-xtr-1 LISP Site Registration Information for VRF “default” * = truncated IPv6 address Site name: “dmm-xtr-1” Description: none configured Allowed configured locators: any Allowed EID-prefixes: Configured EID-prefix: 2001:db8:1200::/48, instance-id: 0 Currently registered: yes First registered: 07:54:01 Last registered: 00:00:10 Who last registered: 172.30.156.134 Routing table tag: 0x00000000 Proxy Replying: no Wants Map-Notifications: no Registered TTL: 1440 minutes Registered locators: Registered locators: 172.30.156.134 (up), priority: 1, weight: 50 172.31.65.94 (up), priority: 1, weight: 50 Registration errors: Authentication failures: 0 Allowed locators mismatch: 0 Configured EID-prefix: 192.168.10.0/24, instance-id: 0 Currently registered: yes First registered: 2w0d Last registered: 00:00:36 Who last registered: 172.30.156.134 Routing table tag: 0x00000000 Proxy Replying: no Wants Map-Notifications: no Registered TTL: 1440 minutes Registered locators: 172.30.156.134 (up), priority: 1, weight: 50 172.31.65.94 (up), priority: 1, weight: 50 Registration errors: Authentication failures: 0 Allowed locators mismatch: 0 switch#
Command |
Description |
---|---|
show ip lisp |
Displays the IPv4 LISP configuration status for the local device. |