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 |
interface type number
Device(config)# interface ethernet0/0
|
Specifies the
interface type and number and enters interface configuration mode.
|
Step 4 |
ip address ip-address mask
Device(config-if)# ip address 10.0.3.1 255.255.255.252
|
Configures an
IPv4 address for the interface.
|
Step 5 |
ipv6 address ipv6-address/ipv6-prefix
Device(config-if)# ipv6 address 2001:DB8:2::1/64
|
Configures an
IPv6 address for the interface.
|
Step 6 |
router lisp
Device(config-if)# router lisp
|
Enters
LISP configuration mode.
|
Step 7 |
locator-set locator-set-name
Device(config-router-lisp)# locator-set setALL
|
Specifies a
locator set and enters LISP locator set configuration mode.
|
Step 8 |
ipv4-address priority priority-locator weight locator-weight
Device(config-router-lisp-locator-set)# 10.0.3.1 priority 1 weight 1
|
Configures an
IPv4 or IPv6 address and policy for the re-encapsulation tunnel router (RTR).
|
Step 9 |
ipv6-address priority priority-locator weight locator-weight
Device(config-router-lisp-locator-set)# 2001:DB8:2::1 priority 1 weight 1
|
Configures
an IPv4 or IPv6 address and policy for the RTR.
|
Step 10 |
exit
Device(config-router-lisp-locator-set)# exit
|
Exits LISP
locator set configuration mode and returns to LISP configuration mode.
|
Step 11 |
map-request itr-rlocs locator-set-name
Device(config-router-lisp)# map-request itr-rlocs setALL
|
Configures
the locator set to be used as routing locators (RLOCs) in the ingress tunnel
router (ITR) RLOC field of Map-Request messages sent from the RTR.
|
Step 12 |
eid-table default
instance-id id
Device(config-router-lisp)# eid-table default instance-id 0
|
Configures
an association between the default (global) routing table and a LISP instance
ID, and enters EID table configuration mode.
|
Step 13 |
map-cache ipv4-EID-prefix map-request
Device(config-router-lisp-eid-table)# map-cache 0.0.0.0/0 map-request
|
Configures
static endpoint identifier-to-routing locator (EID-to-RLOC) mappings for an ITR
and enables sending of Map-Request message for a LISP destination EID.
|
Step 14 |
map-cache ipv6-EID-prefix map-request
Device(config-router-lisp-eid-table)# map-cache ::/0 map-request
|
Configures
static EID-to-RLOC mappings for an ITR and enables sending of Map-Request
message for a LISP destination EID.
|
Step 15 |
exit
Device(config-router-lisp-eid-table)# exit
|
Exits LISP
EID table configuration mode and returns to LISP configuration mode.
|
Step 16 |
ipv4
map-request-source source-address
Device(config-router-lisp)# ipv4 map-request-source 10.0.3.1
|
Specifies
the IPv4 source address to be used in LISP IPv4 Map-Request messages. The ITR
RLOCs configured under Steps 7 through 10, and Step 11 take precedence.
However, this step (16) is still required.
|
Step 17 |
ipv4
map-cache-limit cache-limit
Device(config-router-lisp)# ipv4 map-cache-limit 100000
|
(Optional) Specifies
maximum number of IPv4 LISP map cache entries allowed to be stored on the
router. The valid range is from 0 to 100000.
|
Step 18 |
ipv4
proxy-etr
Device(config-router-lisp)# ipv4 proxy-etr
|
Configures a
device to act as an IPv4 LISP proxy egress tunnel router (PETR).
|
Step 19 |
ipv4 proxy-itr ipv4-local-locator ipv6-local-locator
Device(config-router-lisp)# ipv4 proxy-itr 10.0.3.1 2001:DB8:2::1
|
Configures
this device to act as an IPv4 proxy ingress tunnel router (PITR), and
configures the IPv4 and IPv6 locator addresses used as a source address for
encapsulation of data packets.
|
Step 20 |
ipv4 itr map-resolver map-resolver-address
Device(config-router-lisp)# ipv4 itr map-resolver 10.0.2.1
Device(config-router-lisp)# ipv4 itr map-resolver 2001:DB8:1::1
|
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 21 |
ipv6
map-request-source source-address
Device(config-router-lisp)# ipv6 map-request-source 2001:DB8:2::1
|
The ITR
RLOCs configured under Steps 7 through 10, and Step 11 take precedence.
However, this step (16) is still required.
|
Step 22 |
ipv6
map-cache-limit cache-limit
Device(config-router-lisp)# ipv6 map-cache-limit 100000
|
(Optional) Specifies
the maximum number of IPv6 LISP map cache entries allowed to be stored on the
device. The valid range is from 0 to 100000.
|
Step 23 |
ipv6 proxy-etr cache-limit
Device(config-router-lisp)# ipv6 proxy-etr
|
Configures a
device to act as an IPv6 LISP PETR.
|
Step 24 |
ipv6 proxy-itr ipv6-local-locator ipv4-local-locator
Device(config-router-lisp)# ipv6 proxy-itr 2001:DB8:2::1 10.0.3.1
|
Configures
this device to act as an IPv6 PITR, and configures the IPv4 and IPv6 locator
addresses used as a source address for encapsulation of data packets.
|
Step 25 |
ipv6 itr
map-resolver map-resolver-address
Device(config-router-lisp)# ipv6 itr map-resolver 10.0.2.1
Device(config-router-lisp)# ipv6 itr map-resolver 2001:DB8:1::1
|
Configures a
locator address for the LISP map resolver to which this router will send
Map-Request messages for IPv6 EID-to-RLOC mapping resolutions.
Note
|
You can
configure up to eight map resolvers if multiple map resolvers are available.
|
|
Step 26 |
exit
Device(config-router-lisp)# exit
|
Exits LISP
configuration mode and returns to global configuration mode.
|
Step 27 |
ip route prefix mask ip-address
Device(config)# ip route 0.0.0.0 0.0.0.0 10.0.3.2
|
Establishes
static routes to the next hop destination.
|
Step 28 |
ipv6 route ipv6-prefix/prefix-length ipv6-address
Device(config)# ipv6 route ::/0 2001:DB8:ABCD::1
|
Establishes
static routes to the next hop destination.
|
Step 29 |
end
|
Returns to
privileged EXEC mode.
|