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-table default
Device(config-router-lisp)# locator-table default
|
Selects the default (global) routing table for association with the routing locator address space.
|
Step 5
|
locator-set
loc-set-name
Device(config-router-lisp)# locator-set default_etr_locator
|
Specifies a locator-set, and enters the locator-set configuration mode.
A locator-set identifies the routing-locator that LISP uses when it registers the local endpoints.
In this step, configure a default locator set.
|
Step 6
|
ipv4-interface Loopback
loopback-interface-id
priority
locator-priority
weight
locator-weight
Device(config-router-lisp-locator-set)# ipv4-interface Loopback0 priority 10 weight 10
|
Specifies that the IPv4 address of the loopback interface should be used to reach the locator.
Priority and weight values are associated with the locator address to define traffic policies when multiple RLOCs are defined
for the same EID-prefix block. A locator with a lower priority value takes preference. When multiple locators have the same
priority, they can be used in a load-sharing manner.
Weight is a value 0–100 and represents the percentage of traffic to be load-shared to that locator.
|
Step 7
|
exit-locator-set
Device(config-router-lisp-locator-set)# exit-locator-set
|
Exits locator-set configuration mode, and enters LISP configuration mode.
|
Step 8
|
locator-set
loc-set-name
Device(config-router-lisp)# locator-set eid_locator
|
Specifies a locator-set, and enters the locator-set configuration mode.
Ensure that this locator set is different from the default locator that was created in Step 5.
|
Step 9
|
ipv4-interface Loopback
loopback-interface-id
priority
locator-priority
weight
locator-weight
Device(config-router-lisp-locator-set)# IPv4-interface Loopback0 priority 10 weight 10
|
Specifies that the IPv4 address of the loopback interface should be used to reach the locator.
Priority and weight values are associated with the locator address to define traffic policies when multiple RLOCs are defined
for the same EID-prefix block. A locator with a lower priority value takes preference. When multiple locators have the same
priority, they can be used in a load-sharing manner.
Weight is a value 0–100 and represents the percentage of traffic to be load-shared to that locator.
|
Step 10
|
auto-discover-rlocs
Device(config-router-lisp-locator-set)# auto-discover-rlocs
|
Auto discover the locators registered by other ingress or egress tunnel routers (xTRs).
|
Step 11
|
exit-locator-set
Device(config-router-lisp-locator-set)# exit-locator-set
|
Exits locator-set configuration mode, and enters LISP configuration mode.
|
Step 12
|
locator default-set
loc-set-name
Device(config-router-lisp)# locator default-set eid_locator
|
Specifies a default locator-set.
|
Step 13
|
service{ ipv4| ipv6}
Device(config-router-lisp)# service ipv4
|
Enables network services on the default instance.
service ipv4 : Enables Layer 3 network services for the IPv4 address family.
service ipv6 : Enables Layer 3 network services for the IPv6 address family.
|
Step 14
|
encapsulation vxlan
Device(config-router-lisp-serv-ipv4)# encapsulation vxlan
Device(config-router-lisp-serv-ipv6)# encapsulation vxlan
|
Specifies VXLAN-based encapsulation.
|
Step 15
|
map-cache publications
Device(config-router-lisp-serv-ipv4)# map-cache publications
Device(config-router-lisp-serv-ipv6)# map-cache publications
|
Exports the publication entries to the map cache. These entries are used for forwarding the traffic.
|
Step 16
|
import publication publisher
publisher-address
Device(config-router-lisp-serv-ipv4)# import publication publisher 172.16.1.66
Device(config-router-lisp-serv-ipv6)# import publication publisher 172.16.1.66
|
Imports the publications from the publisher that is specified by the publisher-address . publisher-address is the IP address of the Loopback 0 interface of the control plane node.
If your fabric site has more than one control plane node, there are as many publishers. Execute this command for each of those
publisher-address (control plane nodes). Imported publications are stored in a publication table.
|
Step 17
|
itr map-resolver
map-resolver-address
Device(config-router-lisp-serv-ipv4)# itr map-resolver 172.16.1.66
Device(config-router-lisp-serv-ipv6)# itr map-resolver 172.16.1.66
|
Configures a locator address for the LISP map resolver to which this router sends map request messages for EID-to-RLOC mapping
resolutions.
A control plane node is the LISP map resolver. map-resolver-address is the IP address of the Loopback 0 interface of the control plane node. If your fabric site has more than one control plane
node, execute this command for each of the map-resolver-address (control plane nodes). Execute this command even if the border and control plane nodes are located on the same device.
|
Step 18
|
etr map-server
map-server-address
key
authentication-key
Device(config-router-lisp-serv-ipv4)# etr map-server 172.16.1.66 key some-key
Device(config-router-lisp-serv-ipv6)# etr map-server 172.16.1.66 key some-key
|
Configures a map server to be used by the Egress Tunnel Router (ETR) for endpoint registrations, and specifies the authentication
key to be used with this map server.
A control plane node is the LISP map server. map-server-address is the IP address of the Loopback 0 interface of the control plane node. If your fabric site has more than one control plane
node, execute this command for each of the map-server-address (control plane nodes). Execute this command even if the border and control plane nodes are located on the same device.
Note
|
Ensure that you use the same authentication-key that was configured on the control plane node.
|
|
Step 19
|
etr map-server
map-server-address
proxy-reply
Device(config-router-lisp-serv-ipv4)# etr map-server 172.16.1.66 proxy-reply
Device(config-router-lisp-serv-ipv6)# etr map-server 172.16.1.66 proxy-reply
|
Configures the map server to send map replies on behalf of the ETR.
map-server-address is the IP address of the Loopback 0 interface of control plane node. If your fabric site has more than one control plane
node, execute this command for each of the map-server-address (control plane nodes). Execute this command even if the border and control plane nodes are located on the same device.
|
Step 20
|
etr
Device(config-router-lisp-serv-ipv4)# etr
Device(config-router-lisp-serv-ipv6)# etr
|
Configures the device as an Egress Tunnel Router (ETR).
|
Step 21
|
sgt
Device(config-router-lisp-serv-ipv4)# sgt
Device(config-router-lisp-serv-ipv6)# sgt
|
(Optional) Enables the Security Group Tag (SGT) function for SGT tag propagation. Configure this command only if you need
SGT propagation in your fabric network.
|
Step 22
|
route-export publications
Device(config-router-lisp-serv-ipv4)# route-export publications
Device(config-router-lisp-serv-ipv6)# route-export publications
|
Exports the LISP publications into the routing information base (RIB).
|
Step 23
|
distance publications
distance
Device(config-router-lisp-serv-ipv4)# distance publications 250
Device(config-router-lisp-serv-ipv6)# distance publications 250
|
Specifies the administrative distance to RIB when the LISP publications are exported to the RIB.
|
Step 24
|
proxy-etr
Device(config-router-lisp-serv-ipv4)# proxy-etr
Device(config-router-lisp-serv-ipv6)# proxy-etr
|
Enables Proxy Egress Tunnel Router (PETR) functionality for IPv4 EIDs.
|
Step 25
|
proxy-itr
address
Device(config-router-lisp-serv-ipv4)# proxy-itr 172.16.1.67
Device(config-router-lisp-serv-ipv6)# proxy-itr 172.16.1.67
|
Enables Proxy Ingress Tunnel Router (PITR) functionality for IPv4 or IPv6 EIDs.
For address , specify the IP address of the Loopback 0 interface on the device.
|
Step 26
|
Do one of the following:
- exit-service-ipv4
- exit-service-ipv6
Device(config-router-lisp-serv-ipv4)# exit-service-ipv4
Device(config-router-lisp-serv-ipv4)# exit-service-ipv6
|
Exits service configuration mode, and enters LISP configuration mode.
Use the appropriate command, depending on which service mode you are exiting from (IPv4 or IPv6 mode).
|
Step 27
|
ipv4 locator reachability minimum-mask-length
length
Device(config-router-lisp)# ipv4 locator reachability minimum-mask-length 32
|
Specifies the shortest mask prefix to accept when looking up a remote RLOC in the RIB. LISP checks the host reachability from
the routing locator.
|
Step 28
|
ipv4 source-locator interface-number
Device(config-router-lisp)# ipv4 source-locator loopback0
|
Configures the source locator for the outbound LISP packets. Set the loopback interface as the source locator.
|
Step 29
|
exit-router-lisp
Device(config-router-lisp)# exit-router-lisp
|
Exits LISP configuration mode, and enters global configuration mode.
|
Step 30
|
end
|
Returns to privileged EXEC mode.
|
Step 31
|
show lisp locator-set
Device# show lisp locator-set
LISP Locator-set information:
172.16.1.67, local, reachable, loopback
Device#
|
Displays the LISP Locator Set information configured on the device.
|