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 configure a IPv4 or IPv6 dynamic-endpoint identifier to Routing Locator (EID-to-RLOC) mapping relationship and its associated traffic policy, use the database-mapping command. To remove the configured database mapping, use the no form of this command.
database-mapping dynamic-EID-prefix locator priority priority weight weight
no database-mapping dynamic-EID-prefix locator priority priority weight weight
dynamic-EID-prefix |
IPv4 or IPv6 dynamic-EID prefix and length to be registered as a roaming EID for this policy. |
locator |
IPv4 or IPv6 Routing Locator (RLOC) associated with this EID prefix. |
priority priority |
Priority (value between 0 and 255) assigned to the RLOC. Because only a single locator can be specified for dynamic-EIDs, you should set the priority to 1. |
weight weight |
The weight (value between 0 and 100) assigned to the locator. Since only a single locator can be specified for dynamic-EIDs, you should set the priority to 100. |
None
Dynamic-EID configuration mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
When you configure a dynamic-EID policy is configured, you must specify the dynamic-EID-to-RLOC mapping relationship and its associated traffic policy to use for each permitted prefix. When a packet is received on an interface on which the lisp mobility command has been applied, the source address of the packet is compared against the EID configured in the database-mapping entry (or entries) of the referenced lisp dynamic-eid dynamic-EID-policy-name that matches the lisp mobility dynamic-EID-policy-name.
When a dynamic-EID match is discovered, the dynamic-EID is registered to the Map Server with a 3-tuple of (locator, priority, weight). You can use multiple database-mapping entry commands to make up the locator-set for a dynamic-EID prefix. Both the dynamic-EID prefix and locator can be either an IPv4 or IPv6 address.
Note | All database-mapping dynamic-EID subcommands must be consistent on all LISP-VM switches that support the same roaming dynamic-EID. |
This command does not require a license.
This example shows how to configure the LISP dynamic-EID policy named Roamer-1 and enter the dynamic-EID configuration mode and then configure the IPv4 dynamic-EID prefix with the IPv4 locator and a priority and weight:
switch# configuration terminal switch(config)# lisp dynamic-eid Roamer-1 switch(config-lisp-dynamic-eid)# database-mapping 172.16.1.1/32 10.1.1.1 priority 1 weight 100
Command |
Description |
---|---|
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 participate in LISP VM mobility (dynamic-EID roaming). |
To add a description to a Locator/ID Separation Protocol (LISP) site configuration, use the description command. To remove the reference to a LISP site, use the no form of this command.
no lisp site description
no lisp site description
description |
Description listed with the associated LISP site. |
None
LISP site configuration mode
Release |
Modification |
---|---|
5.0(1.13) |
This command was introduced. |
On the Map Server, when you enter the lisp site command, you are placed in the site sub-command mode. In this mode, you can add a description with the referenced LISP site by using the description command. This description displays when you enter the show lisp site command.
This command does not require a license.
This example shows how to configure the LISP site named Customer-1, enter the site command mode, and add the description string for Customer-1:
switch# configuration terminal switch(config)# lisp site Customer-1 switch(config-lisp-site)# description Customer-1 Site Information
Command |
Description |
---|---|
lisp site |
Configures a LISP site and enters site configuration mode on a Map Server. |
show lisp site |
Displays registered LISP sites on a Map Server. |