clear ip lisp map-cache
To clear the Locator/ID Separation Protocol (LISP) map cache, use the clear ip lisp map-cache command in privilege EXEC mode.
clear ip lisp map-cache [EID-prefix/ prefix-length]
Syntax Description
EID-prefix/prefix-length |
(Optional) IPv4 endpoint identifier (EID) prefix to clear from LISP map cache |
Command Modes
Privileged EXEC (#)
Command History
Release |
Modification |
---|---|
15.1(1)XB |
This command was introduced. |
Cisco IOS XE Release XA |
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 Release15.1(4)M. |
Usage Guidelines
The clear ip lisp map-cache command removes all IPv4 dynamic LISP map-cache entries stored by the router. When an optional IPv4 EID prefix is added to the command, only that IPv4 EID prefix is cleared from the LISP map-cache.
Examples
The following example shows how to display all LISP map-cache entries and then clear the LISP map cache for the IPv4 EID prefix 172.16.10.0/24.
Router# show ip lisp map-cache
LISP IPv4 Mapping Cache, 2 entries
0.0.0.0/0, uptime: 01:18:22, expires: never, via static
153.16.10.0/24, uptime: 00:00:04, expires: 23:59:55, via map-reply, complete
Locator Uptime State Pri/Wgt
172.16.10.0/24 00:00:04 up 1/50
192.168.65.94 00:00:04 up 1/50
2001:468:D01:9C::80DF:9C86 00:00:04 up 2/100
Router# clear ip lisp map-cache 172.16.10.0/24
Router# show ip lisp map-cache
LISP IPv4 Mapping Cache, 1 entries
0.0.0.0/0, uptime: 01:18:42, expires: never, via static
Router#