|
Command or Action |
Purpose |
Step 1 |
enable
Example: Device> enable |
Enables privileged EXEC mode.
-
Enter your password if prompted.
|
Step 2 |
configure terminal
Example: Device# configure terminal |
Enters global configuration mode. |
Step 3 |
router lisp
Example: Device(config)# router lisp |
Enters LISP configuration mode. |
Step 4 |
locator-set locator-set-name
Example: Device(config-router-lisp)# locator-set WestDC |
Specifies a locator set and enters LISP locator-set configuration mode. |
Step 5 |
ipv4-address priority priority-locator weight locator-weight
Example: Device(config-router-lisp-locator-set)# 172.18.3.3 priority 10 weight 50 |
Configures the LISP locator set. The LISP locator set is the set of addresses used by the gateway xTR while encapsulating/decapsulating LISP traffic from and to the endpoint identifier (EID). |
Step 6 |
exit
Example: Device(config-router-lisp-locator-set)# exit |
Exits LISP locator-set configuration mode and returns to LISP configuration mode. |
Step 7 |
eid-table default instance-id id
Example: Device(config-router-lisp)# eid-table default instance-id 0 |
Configures an association between the default virtual routing and forwarding (VRF) table and a LISP instance ID, and enters EID table configuration mode. |
Step 8 |
database-mapping dynamic-eid-prefix/prefix-length locator-set name
Example: Device(config-router-lisp-eid-table)# database-mapping 10.1.0.0/16 locator-set WestDC |
Configures an IPv4 mapping relationship and an associated traffic policy for LISP virtual machine (VM)-mobility (dynamic EID) policy. |
Step 9 |
dynamic-eid dynamic-eid-name
Example: Device(config-router-lisp-eid-table)# dynamic-eid VMs |
Specifies a LISP VM-mobility (dynamic EID roaming) policy and enters dynamic EID configuration mode. |
Step 10 |
database-mapping dynamic-eid-prefix/prefix-length locator-set name
Example: Device(config-router-lisp-eid-table-dynamic-eid)# database-mapping 10.1.1.0/24 locator-set WestDC |
Configures an IPv4 mapping relationship and an associated traffic policy for LISP VM-mobility (dynamic EID) policy. |
Step 11 |
eid-notify authentication-key password
Example: Device(config-router-lisp-eid-table-dynamic-eid)# eid-notify authentication-key k |
Specifies the authentication key to validate the EID-notify sent from a first-hop router (FHR). |
Step 12 |
exit
Example: Device(config-router-lisp-eid-table-dynamic-eid)# exit |
Exits dynamic EID configuration mode and returns to EID table configuration mode. |
Step 13 |
exit
Example: Device(config-router-lisp-eid-table)# exit |
Exits EID table configuration mode and returns to LISP configuration mode. |
Step 14 |
ipv4 itr map-resolver map-resolver-address
Example: Device(config-router-lisp)# ipv4 itr map-resolver 172.20.5.5 |
Configures a locator address for the LISP map resolver to which this device will send map request messages for IPv4 EID-to-RLOC mapping resolutions.
-
The locator address of the map resolver may be an IPv4 or IPv6 address.
Note |
You can configure up to 8 map resolvers if multiple map resolvers are available. |
|
Step 15 |
ipv4 itr
Example: Device(config-router-lisp)# ipv4 itr |
Enables LISP ingress tunnel router (ITR) functionality for the IPv4 address family. |
Step 16 |
ipv4 etr map-server map-server-address key authentication-key
Example: Device(config-router-lisp)# ipv4 etr map-server 172.20.5.5 key mskey |
Configures the IPv4 or IPv6 locator address of the LISP map server to be used by the egress tunnel router (ETR) when registering IPv4 endpoint identifiers (EIDs). |
Step 17 |
ipv4 etr
Example: Device(config-router-lisp)# ipv4 etr |
Enables LISP ETR functionality for the IPv4 address family. |
Step 18 |
exit
Example: Device(config-router-lisp)# exit |
Exits LISP configuration mode and returns to global configuration mode. |
Step 19 |
interface type number
Example: Device(config)# interface FastEthernet 1/4 |
Specifies the interface type and number and enters interface configuration mode. |
Step 20 |
ip address ip-address mask
Example: Device(config-if)# ip address 192.0.2.21 255.255.255.0 |
Configures an IPv4 address for the interface. |
Step 21 |
lisp mobility dynamic-eid-name
Example: Device(config-if)# lisp mobility VMs |
Allows EID mobility on the interface and specifies the name of the dynamic EID. |
Step 22 |
lisp extended-subnet-mode
Example: Device(config-if)# lisp extended-subnet-mode |
Enables extended subnet mode on the interface. |
Step 23 |
end
Example: Device(config-if)# end |
Returns to privileged EXEC mode. |