Example:
Spoke-to-Spoke NHRP Summary Maps
The following is
an example of configuring DMVPN phase 3 on hub for summary map .
interface Tunnel0
ip address 15.0.0.1 255.255.255.0
no ip redirects
no ip split-horizon eigrp 2
ip nhrp authentication cisco123
ip nhrp network-id 23
ip nhrp redirect
ip summary-address eigrp 2 190.0.0.0 255.255.252.0
ip summary-address eigrp 2 201.0.0.0 255.255.252.0
tunnel source GigabitEthernet1/0/0
tunnel mode gre multipoint
tunnel key 6
end
The following
example shows how to configure spoke-to-spoke NHRP summary maps on spoke 1.
interface Tunnel0
vrf forwarding vrf1
ip address 15.0.0.10 255.255.255.0
ip nhrp authentication cisco123
ip nhrp summary-map 190.0.0.0/22
ip nhrp network-id 5
ip nhrp nhs 15.0.0.1 nbma 123.0.0.1 multicast
ip nhrp shortcut
tunnel source GigabitEthernet0/1/0
tunnel mode gre multipoint
tunnel key 6
end
The following
example shows how to configure spoke-to-spoke NHRP summary maps on spoke 2.
interface Tunnel0
ip address 15.0.0.20 255.255.255.0
ip nhrp authentication cisco123
ip nhrp summary-map 201.0.0.0/22
ip nhrp network-id 5
ip nhrp nhs 15.0.0.1 nbma 123.0.0.1 multicast
ip nhrp shortcut
tunnel source GigabitEthernet0/0/0
tunnel mode gre multipoint
tunnel key 6
end
The following is a
sample output of the show ip nhrp command on the hub.
Device# show ip nhrp
15.0.0.10/32 via 15.0.0.10
Tunnel0 created 00:22:26, expire 00:07:35
Type: dynamic, Flags: registered used nhop
NBMA address: 41.0.0.1
15.0.0.20/32 via 15.0.0.20
Tunnel0 created 00:13:43, expire 00:09:36
Type: dynamic, Flags: registered used nhop
NBMA address: 42.0.0.1
The following is a
sample output of the show ip nhrp command on spoke 1.
Device# show ip nhrp
15.0.0.1/32 (vrf1) via 15.0.0.1
Tunnel3 created 09:09:00, never expire
Type: static, Flags: used
NBMA address: 123.0.0.1
15.0.0.20/32 (vrf1) via 15.0.0.20
Tunnel3 created 00:00:54, expire 00:04:05
Type: dynamic, Flags: router nhop rib
NBMA address: 42.0.0.1
190.0.0.0/22 (vrf1) via 15.0.0.10
Tunnel3 created 09:09:00, never expire
Type: static, Flags: local
NBMA address: 121.0.0.1
(no-socket)
201.0.0.0/22 (vrf1) via 15.0.0.20
Tunnel3 created 00:00:54, expire 00:04:05
Type: dynamic, Flags: router rib nho
NBMA address: 42.0.0.1
The following is a
sample output of the show ip nhrp command on spoke 2.
Device# show ip nhrp
15.0.0.1/32 via 15.0.0.1
Tunnel0 created 09:08:16, never expire
Type: static, Flags: used
NBMA address: 123.0.0.1
15.0.0.10/32 via 15.0.0.10
Tunnel0 created 00:00:04, expire 01:59:55
Type: dynamic, Flags: router nhop rib
NBMA address: 121.0.0.1
190.0.0.0/22 via 15.0.0.10
Tunnel0 created 00:00:04, expire 01:59:55
Type: dynamic, Flags: router rib nho
NBMA address: 121.0.0.1
201.0.0.0/22 via 15.0.0.20
Tunnel0 created 09:08:16, never expire
Type: static, Flags: local
NBMA address: 42.0.0.1
(no-socket)