0% found this document useful (0 votes)
88 views3 pages

Cisco GRE Tunnel Dynamic Hub NHRP Mapping

This document describes the configuration of a dynamic GRE tunnel hub and spoke topology using NHRP. The hub is configured with a Tunnel interface using GRE multipoint mode with NHRP enabled. The spoke also uses a Tunnel interface but specifies the hub's NHRP address as the next hop. Verification commands are provided to check the Layer 3 connectivity and NHRP mappings between the hub and spoke tunnels.

Uploaded by

Gregory Ellis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views3 pages

Cisco GRE Tunnel Dynamic Hub NHRP Mapping

This document describes the configuration of a dynamic GRE tunnel hub and spoke topology using NHRP. The hub is configured with a Tunnel interface using GRE multipoint mode with NHRP enabled. The spoke also uses a Tunnel interface but specifies the hub's NHRP address as the next hop. Verification commands are provided to check the Layer 3 connectivity and NHRP mappings between the hub and spoke tunnels.

Uploaded by

Gregory Ellis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

====================================

CISCO GRE TUNNEL DYNAMIC HUB NHRP MAPPING


====================================
https://www.pluralsight.com/blog/it-ops/multipoint-gre-tunnel-introduction

NOTE:
GRE OVER NHRP IS USED FOR HUB AND SPOKE TOPOLOGIES
TUNNELS OPERATE OVER L3 CONNECTIONS
MUST HAVE L3 CONNECTIVITY 1ST
NHRP HOLDTIME = 600
NHRP REGISTRATIONS SENT EVERY 200 SECONDS

====================================
HUB
====================================
NOTE:
SOURCE AND DESTINATION MUST BE ON SAME SUBNET

TUNNEL SOURCE
Tun # : Tunnel2
Tun IP : 192.168.2.1 255.255.255.0

TUNNEL SOURCE INTERFACE


Tun Source Int : FastEthernet0/0
Source Int IP : 10.0.0.2 255.255.255.252

TUNNEL DESTINATION
Tun Dest Int : Fa0/0
Dest WAN IP 2 : 10.0.0.18
Dest Tun IP : 192.168.2.6

AUTHENTICATION
Network-id : network-id 2
Authentication : cisco
Tunnel Key : tunnel key 2

interface Tunnel2
ip address 192.168.2.1 255.255.255.0
no ip redirects
ip mtu 1440
ip nhrp authentication cisco
ip nhrp map multicast dynamic
ip nhrp network-id 2
ip nhrp holdtime 600
ip nhrp registration timeout 30
no ip split-horizon eigrp 1
tunnel source 10.0.0.2
tunnel mode gre multipoint
tunnel key 2
!
!
interface FastEthernet0/0
ip address 10.0.0.2 255.255.255.252
duplex full
!
!
====================================
SPOKE
====================================

interface Tunnel2
ip address 192.168.2.6 255.255.255.0
ip mtu 1440
ip nhrp authentication cisco
ip nhrp map multicast 10.0.0.2
ip nhrp map 192.168.2.1 10.0.0.2
ip nhrp network-id 2
ip nhrp holdtime 600
ip nhrp nhs 192.168.2.1
ip nhrp registration timeout 30
tunnel source 10.0.0.18
tunnel destination 10.0.0.2
tunnel key 2
!
!
interface FastEthernet0/0
ip address 10.0.0.18 255.255.255.252
duplex full
!
end

------------------------------------
VERIFY
------------------------------------

LAYER 3
ping 192.168.2.1 source Tunnel2
traceroute 192.168.2.1 source 192.168.2.6
show tunnel interface Tunnel2 <==SHOWS UP/UP : SOURCE :
DEST : NEXTHOP
show run interface Tunnel2
show ip route | i Tunnel2

NHRP
show ip nhrp brief
show ip nhrp detail
show ip nhrp summary <==SHOWS TOTAL NHRP ENTRIES
show ip nhrp <==SHOWS UP/UP TIME :
TYPE : DESTINATION IP
show ip nhrp traffic
show ip nhrp traffic interface Tunnel2

MULTICAST
show ip nhrp multicast | i Tunnel2
show ip nhrp multicast Tunnel2

TRAFFIC
*show interfaces Tunnel2 accounting <==PACKET COUNTER
show interfaces Tunnel2 stats <==PACKET + CACHE COUNTER
show interfaces Tunnel2 switching <==PACKET COUNTER (DETAILED)
show interfaces Tunnel2 | i packets

show interfaces Tunnel2 summary <==SPEED TEST / LIVE TRAFFIC ONLY /


USE WITH TRAFFIC GENERATOR

MAC

show redundancy state <==USED FOR HSRP INSTANCES

You might also like