Step 1
|
enable
|
Enables
privileged EXEC mode.
- Enter your password if
prompted.
|
Step 2
|
configure terminal
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3
|
router lisp
Device(config)# router lisp
|
Enters LISP
configuration mode.
|
Step 4
|
locator-set locator-set-name
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
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
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
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
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.
Note
|
You can enter the
limit dynamic value keyword to limit the number of
discoverable dynamic EIDs. However, if you have enabled debug mode (using the
service internal command), then the
number of discoverable dynamic EIDs will be increased to a fixed value of
65535.
|
|
Step 9
|
dynamic-eid dynamic-eid-name
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
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
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
Device(config-router-lisp-eid-table-dynamic-eid)# exit
|
Exits
dynamic EID configuration mode and returns to EID table configuration mode.
|
Step 13
|
exit
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
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.
Note
|
You can
configure up to 8 map resolvers if multiple map resolvers are available.
|
|
Step 15
|
ipv4 itr
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
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
Device(config-router-lisp)# ipv4 etr
|
Enables LISP
ETR functionality for the IPv4 address family.
|
Step 18
|
exit
Device(config-router-lisp)# exit
|
Exits LISP
configuration mode and returns to global configuration mode.
|
Step 19
|
interface type number
Device(config)# interface FastEthernet 1/4
|
Specifies
the interface type and number and enters interface configuration mode.
|
Step 20
|
ip address ip-address mask
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
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
Device(config-if)# lisp extended-subnet-mode
|
Enables
extended subnet mode on the interface.
|
Step 23
|
end
|
Returns to
privileged EXEC mode.
|