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 clear the LISP IPv4 data-cache, use the clear ip lisp data-cache command.
clear ip lisp data-cache [ vrf vrf-name ] [EID]
vrf vrf-name |
(Optional) Specifies virtual routing and forwarding (VRF) instance with which to clear the data cache. |
EID |
(Optional) IPv4 EID to clear from LISP data-cache. |
None
Any command mode
network-adminvdc-admin
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The clear ip lisp data-cache command removes all IPv4 endpoint identifier to Routing Locator (EID-to-RLOC) mapping in the forwarding data-cache. Data-cache entries are present in two cases only: when the ip lisp itr send-data-probe command entered, after a data-probe is sent, this data-probe is stored in the data cache until a Map-Reply is returned, when you enter the ip lisp etr glean-mapping command, gleaned EID-to-RLOC mapping data is stored in the data cache until the data is verified. When you use the optional vrf keyword, the data-cache is cleared for the specified VRF. When the EID option is used, only the EID-to-RLOC mapping for that entry is cleared.
This command does not require a license.
This example shows how to clear the LISP IPv4 data cache:
switch# clear ip lisp data-cache
Command |
Description |
---|---|
show ip lisp data-cache |
Displays the LISP IPv4 EID-to-RLOC data-cache mapping on an Ingress Tunnel Router (ITR). |
To clear the Locator/ID Separation Protocol (LISP) IPv4 map-cache, use the clear ip lisp map-cache command.
clear ip lisp map-cache [ vrf vrf-name ] [EID]
vrf vrf-name |
(Optional) Specifies virtual routing and forwarding (VRF) with which to clear the map cache. |
EID |
(Optional) IPv4 EID prefix to clear from LISP map cache. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The clear ipv lisp map-cache command removes all IPv4 dynamic endpoint identifier to Routing Locator (EID-to-RLOC) map-cache entries in the map cache. When the optional EID prefix is specified, only the EID-to-RLOC mapping for that entry is cleared. Otherwise, the entire data cache is cleared. When you specify the optional vrf keyword, the data cache is cleared for the specified VRF
This command does not require a license.
This example shows how to clear the LISP IPv4 map-cache:
switch# clear ip lisp map-cache switch# show ip lisp map-cache LISP IP Mapping Cache for VRF "default", 0 entries
This example shows display all LISP map-cache entries, and then clears the LISP map-cache for an IPv4 EID prefix:
switch# show ip lisp map-cache LISP IP Mapping Cache for VRF “default”, 2 entries 153.16.1.0/24, uptime: 00:00:06, expires: 23:59:53, via map-reply, auth Locator Uptime State Priority/ Data Control Weight in/out in/out 129.250.1.255 00:00:06 up 254/0 0/0 0/0 129.250.26.242 00:00:06 up 1/100 0/0 0/0 153.16.12.0/24, uptime: 00:00:04, expires: 23:59:55, via map-reply, self Locator Uptime State Priority/ Data Control Weight in/out in/out 128.223.156.23 00:00:04 up 1/100 0/0 0/0 switch# clear ip lisp map-cache 153.16.1.0/24 switch# show ip lisp map-cache LISP IP Mapping Cache for VRF "default", 1 entries 153.16.12.0/24, uptime: 00:00:46, expires: 23:59:13, via map-reply, self Locator Uptime State Priority/ Data Control Weight in/out in/out 128.223.156.23 00:00:46 up 1/100 0/0 2/1 switch#
Command |
Description |
---|---|
show ip lisp map-cache |
Displays current dynamic and static IPv4 EID-to-RLOC map-cache entries. |
To clear the Locator/ID Separation Protocol (LISP) ingress tunnel router (ITR) and Egress Tunnel Router (ETR) IPv4 address-family packet count statistics, use the clear ip lisp statistics command.
clear ip lisp statistics [ vrf vrf-name ]
vrf vrf-name |
(Optional) Specifies virtual routing and forwarding (VRF) with which to clear the LISP statistics. |
None
Global configuration mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
5.0(3.lisp) |
This command was modified. |
The clear ip lisp statistics command clears all of the LISP Ingress Tunnel Router (ITR) and ETR IPv4 address-family packet count statistics. IPv4 address family packet count statistics are maintained for all LISP control plane packets. These packet counters are displayed using the show ip lisp statistics command.
This command does not require a license.
This example shows how to clear the LISP Ingress Tunnel Router (ITR) and ETR IPv4 address-family packet count statistics:
switch# clear ip lisp statistics switch#
Command |
Description |
---|---|
show ip lisp statistics |
Displays LISP IPv4 address-family statistics. |
To clear the LISP IPv6 data-cache, use the clear ipv6 lisp data-cache command.
clear ipv6 lisp data-cache [ vrf vrf-name ] [EID]
vrf vrf-name |
(Optional) Specifies virtual routing and forwarding (VRF) instance with which to clear the data cache. |
EID |
(Optional) IPv6 EID to clear from LISP map cache. |
None
Any command mode
network-adminvdc-admin
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The clear ipv6 lisp data-cache command removes all IPv4 endpoint identifier to Routing Locator (EID-to-RLOC) mapping in the forwarding data-cache. Data-cache entries are present in two cases only: when the ip lisp itr send-data-probe command entered, after a data-probe is sent, this data-probe is stored in the data cache until a Map-Reply is returned, when you enter the ip lisp etr glean-mapping command, gleaned EID-to-RLOC mapping data is stored in the data cache until the data is verified. When you use the optional vrf keyword, the data-cache is cleared for the specified VRF. When the EID option is used, only the EID-to-RLOC mapping for that entry is cleared.
This command does not require a license.
This example shows how to clear the LISP IPv6 data-cache:
switch# clear ipv6 lisp data-cache
Command |
Description |
---|---|
show ipv6 lisp data-cache |
Displays the LISP IPv6 EID-to-RLOC data-cache mapping on an Ingress Tunnel Router (ITR). |
To clear the Locator/ID Separation Protocol (LISP) IPv6 map-cache, use the clear ipv6 lisp map-cache command.
clear ipv6 lisp map-cache [ vrf vrf-name ] [EID]
vrf vrf-name |
(Optional) Specifies virtual routing and forwarding (VRF) with which to clear the map cache. |
EID |
(Optional) IPv6 EID prefix to clear from LISP map cache. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The clear ipv6 lisp map-cache command removes all IPv6 dynamic endpoint identifier to Routing Locator (EID-to-RLOC) map-cache entries in the map cache. When the optional EID prefix is specified, only the EID-to-RLOC mapping for that entry is cleared. Otherwise, the entire data cache is cleared. When you specify the optional vrf keyword, the data cache is cleared for the specified VRF
This command does not require a license.
This example shows how to clear the LISP IPv6 map-cache:
switch# clear ipv6 lisp map-cache switch# show ipv6 lisp map-cache LISP IPv6 Mapping Cache for VRF “default”, 0 entries
This example shows how to display all LISP map-cache entries, and then clears the LISP map-cache for an IPv4 EID prefix:
switch# show ipv6 lisp map-cache LISP IP Mapping Cache for VRF “default”, 2 entries 153.16.1.0/24, uptime: 00:00:06, expires: 23:59:53, via map-reply, auth Locator Uptime State Priority/ Data Control Weight in/out in/out 129.250.1.255 00:00:06 up 254/0 0/0 0/0 129.250.26.242 00:00:06 up 1/100 0/0 0/0 153.16.12.0/24, uptime: 00:00:04, expires: 23:59:55, via map-reply, self Locator Uptime State Priority/ Data Control Weight in/out in/out 128.223.156.23 00:00:04 up 1/100 0/0 0/0 switch# show ipv6 lisp map-cache LISP IPv6 Mapping Cache for VRF “default”, 1 entries 2610:d0:210f::/48, uptime: 00:00:58, expires: 23:59:01, via map-reply, auth Locator Uptime State Priority/ Data Control Weight in/out in/out 85.184.2.10 00:00:58 up 0/100 0/0 0/0 2001:6e0:4:2::2 00:00:58 up 0/100 0/0 0/0 switch# clear ipv6 lisp map-cache 2610:d0:210f::/48 switch# show ipv6 lisp map-cache LISP IPv6 Mapping Cache for VRF “default”, 0 entries switch#
Command |
Description |
---|---|
show ipv6 lisp map-cache |
Displays current dynamic and static IPv6 EID-to-RLOC map-cache entries. |
To clear the Locator/ID Separation Protocol (LISP) ingress tunnel router (ITR) and Egress Tunnel Router (ETR) IPv4 address-family packet count statistics, use the clear ip lisp statistics command.
clear ipv6 lisp statistics [ vrf vrf-name ]
vrf vrf-name |
(Optional) Specifies virtual routing and forwarding (VRF) with which to clear the LISP statistics. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
5.0(3.lisp) |
This command was modified. |
The clear ipv6 lisp statistics command clears all of the LISP Ingress Tunnel Router (ITR) and ETR IPv4 address-family packet count statistics. IPv4 address family packet count statistics are maintained for all LISP control plane packets. These packet counters are displayed using the show ipv6 lisp statistics command.
This command does not require a license.
This example shows how to clear the LISP Ingress Tunnel Router (ITR) and ETR IPv6 address-family packet count statistics:
switch# clear ipv6 lisp statistics switch#
Command |
Description |
---|---|
show ipv6 lisp statistics |
Displays LISP IPv6 address-family statistics. |
To clear all dynamically learned dynamic endpoint identifiers (EIDs) that are associated with the configured dynamic-EID policy, use the clear lisp dynamic-eid command.
clear lisp dynamic-eid dynamic-eid-name
dynamic-eid-name |
LISP dynamic-EID policy name. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The clear lisp dynamic-eid command clears all dynamically learned dynamic EIDs that are associated with the configured dynamic-EID policy.
This command does not require a license.
This example shows how to display all dynamically learned dynamic-EIDs associated with the configured dynamic-EID policy:
switch# show lisp dynamic-eid bc4 detail LISP Dynamic EID Information for VRF “default” Dynamic-EID name: bc4 Database-mapping EID-prefix: 30.1.110.104/32, LSBs: 0x00000001 Locator: 90.1.93.1, priority: 1, weight: 10, local Registering more-specific dynamic-EIDs Map-Server(s): 90.32.32.32 Number of roaming dynamic-EIDs discovered: 1 Last dynamic-EID discovered: 30.1.110.104, 00:08:06 ago Roaming dynamic-EIDs: 30.1.110.104, Ethernet2/5, uptime: 00:08:06, last activity: 0.998355
This example shows how to remove all dynamically learned dynamic EIDs that are associated with the configured dynamic-EID policy:
switch# clear lisp dynamic-eid bc4 switch#
Command |
Description |
---|---|
show lisp site |
Displays LISP site information. This command is applicable only for the Map-Server. |
lisp dynamic-eid |
Configures a LISP dynamic-EID policy. |
lisp site |
Configures a LISP site and enters site configuration mode on a Map-Server. |
lisp mobility |
Configures an interface on an Ingress Tunnel Router (ITR) to support LISP VM-mobility (dynamic-EID roaming). |
To clear the list of Proxy-ITR (PITR) locators that have been discovered through Map-Requests, use the clear lisp proxy-itr command.
clear lisp proxy-itr [locator] [ vrf vrf-name ]
locator |
(Optional) IPv4 or IPv6 locator address of the PITR to clear. |
vrf vrf-name |
(Optional) Specifies virtual routing and forwarding (VRF) with which to clear locator address of the PITR. |
None
Global configuration mode
Release |
Modification |
---|---|
5.0(3.lisp-80) |
This command was introduced. |
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 there is a need to send Solicit-Map-Requests (SMRs) to other LISP devices, including PITRs. The number of locators currently cached is eight (8).
The clear lisp proxy-itr command removes all of the PITR locators that have been discovered through Map-Requests. When the locator form is used, only this PITR locator entry is removed. When you enter the vrf keyword, all PITR locators that are associated with this VRF are removed
This command does not require a license.
This example shows how to clear the list of PITR locators that have been discovered through Map-Requests:
switch# clear lisp proxy-itr
Command |
Description |
---|---|
show lisp proxy-tir |
Displays a list of PITRs discovered through Map-Requests. |
To clear the registration data for the specified Locator/ID Separation Protocol (LISP) site, use the clear lisp site command.
clear lisp site site-name
site-name |
LISP site. |
None
Any command mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
The clear lisp site command clears the registration data for the specified LISP site. This command can only be used on a LISP Map-Server.
Use the show lisp site command to display the registration status of LISP sites.
This command does not require a license.
This example shows how to clear the registration data for the specified LISP site:
switch# clear lisp site Customer-1 switch#
Command |
Description |
---|---|
show lisp site |
Displays LISP site information. This command is applicable only for the Map-Server. |