Cisco Nexus 7000 Series Command Reference Manual page 66

Nx-os lisp command reference
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

ip lisp map-cache-limit
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
When the optional reserve-list keyword is configured, a Map-Request is generated and a new dynamic
map-cache entry may be added only for IP v4 EID-prefixes that are permitted by the prefix-list
referenced by the reserve-list keyword. In this case, the new entry must be able to replace an existing
dynamic entry so that the cache limit is maintained. The deleted dynamic entry will be either a
nonreserve idle map-cache entry or non-reserve active map-cache entry. Idle map-cache entries are those
entries that have seen no activity in the last 10 minutes. If all current dynamic entries are also permitted
by the prefix-list referenced by the reserve-list, no further dynamic entries can be added.
Existing dynamic IPv4 map-cache entries can time-out due to inactivity or can be removed by the using
the clear ip lisp map-cache command to create a free position in the map cache.
Static map-cache entries are always added, until the default or configured cache-limit is reached. After
the default or configured cache limit is reached, unless the optional reserve-list is configured, no further
static entries are added.
When the optional reserve-list keyword is not configured, static entries are added on a
first-in-first-added basis until the configured map-cache limit is reached. After that time, no new static
entries can be added. If the reserve-list keyword is configured but the prefix-list to which it refers is not
configured, the results are the same as if the reserve-list keyword was not configured.
When the optional reserve-list keyword is configured, a static entry that matches the reserve list, a prefix
list can be added, but only if it can replace an existing static entry or dynamic entry that does not-match
the reserve list prefix list.
W the optional reserve-list keyword is used, once the configured cache limit is reached, if all existing
Caution
entries also match the prefix list and are not candidates for deletion, no new dynamic or static entries are
added, even if a new dynamic or static entry also matches the reserve list prefix list.
When the reserve-list command is used, be sure that the prefix-list includes entries that match all
Note
expected prefixes in any Map-Reply, including the more-specifics. This can be ensured by appending le
32 to the end of all prefix-list entries for IPv4 prefixes. For example, if you want to match 153.16.0.0/16
and any of the more specifics, you should specify ip prefix-list lisp-list seq 5 permit 153.16.0.0/16 le
32 in order to cover all replies within this range.
This command does not require a license.
This example shows how to configures a lisp cache limit of 2000 entries and a reserve list that references
Examples
the IPv4 prefix-list LISP-v4-always:
switch# configure terminal
switch(config)# ip lisp map-cache-limit 2000 reserve-list LISP-v4-always
switch(config)# ip prefix-list LISP-v4-always seq 20 permit 172.16.0.0/16 le 32
Related Commands
Command
ip lisp map-cache
clear ip lisp map-cache Clears the LISP IPv4 map-cache on the local Cisco NX-OS device.
Cisco Nexus 7000 Series NX-OS LISP Command Reference
LSP-56
Description
Configures a static IPv4 EID-prefix to locator map-cache entry.
Cisco Nexus 7000 Series LISP Commands

Advertisement

Table of Contents
loading

Table of Contents