cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
27654
Views
11
Helpful
16
Replies

DMVPN intermittent dmvpn state changes

les_davis
Level 1
Level 1

We are running a DMVPN dual hub and spoke configuration using ASR router for the hubs and 2811 routers for the spoke routers.  We have recently gone past 3000 remote locations and have discovered an issue that we are struggling with.  On the some spoke routers (we don't know for sure how many) we are seeing that the show dmvpn in some cases responds with IKE or NHRP with one of the hub peers (see below)

ro1-13349#sho dmvpn
Legend: Attrb --> S - Static, D - Dynamic, I - Incomplete
        N - NATed, L - Local, X - No Socket
        # Ent --> Number of NHRP entries with same NBMA peer
        NHS Status: E --> Expecting Replies, R --> Responding
        UpDn Time --> Up or Down Time for a Tunnel
==========================================================================

Interface: Tunnel1, IPv4 NHRP Details
IPv4 Registration Timer: 30 seconds

IPv4 NHS: 10.1.0.1 RE
Type:Spoke, Total NBMA Peers (v4/v6): 1

# Ent  Peer NBMA Addr Peer Tunnel Add State  UpDn Tm Attrb    Target Network
----- --------------- --------------- ----- -------- ----- -----------------
    1  A.B.C.D     10.1.0.1                           UP    6d14h    S        10.1.0.1/32


Interface: Tunnel2, IPv4 NHRP Details
IPv4 Registration Timer: 30 seconds

IPv4 NHS: 10.2.0.1  E
Type:Spoke, Total NBMA Peers (v4/v6): 1

# Ent  Peer NBMA Addr Peer Tunnel Add State  UpDn Tm Attrb    Target Network
----- --------------- --------------- ----- -------- ----- -----------------
    1  A.B.C.D           10.2.0.1                      IKE     3w6d    S        10.2.0.1/32

The state will cycle between IKE and NHRP and UP.  We have captured the data 3 times from our 3000+ connections and we have seen about 15 to 20 on each data capture with 1 location that has been on each list.

Is there any additional logging that could help determine the cause?  We recently added dmvpn logging on 32 branches and the typical message we see is the following

Apr  4 10:34:29.619 CDT: %DMVPN-5-NHRP_NHS: Tunnel2 10.2.0.1 is DOWN
Apr  4 10:35:53.048 CDT: %DMVPN-3-NHRP_ERROR: Registration Request failed for 10.2.0.1 on Tunnel2

In some cases we get the following

Apr  4 14:28:40.558 CDT: %DMVPN-7-CRYPTO_SS: Tunnel2-A.B.C.D socket is DOWN

Clearing crypto sessions or a shut no shut on the tunnel rarely fixes the problem.  If it does the issue comes back.  We are using a mix of pre-shared key and CA crypto authenticaion.  We are using Version 12.4(24)T1 as the IOS based on other issues.

Please provide any insight you may have on this type of issue.  I will add more as we uncover more information or have any pertinent data to add.

16 Replies 16

Hi,

 

I'm facing something related to this. Do you have any idea on this. 

 
DMVPN tunnel went to NHRP state after spoke router reboot. (Tunnel Went Down)

 

Hi Friends,

 

DMVPN Tunnel went to NHRP state After Spoke Router Reboot, Once tunnel interface configuration removed and deployed again issue got resolve. this issue happens when spoke router reboot. Kindly suggest on this. Please find below tunnel configuration of Hub and  Spoke end. 

 

Spoke End:

interface Tunnel1
ip address 172.16.254.20 255.255.255.0
no ip redirects
ip mtu 1400
ip pim nbma-mode
ip pim sparse-dense-mode
no ip next-hop-self eigrp 50
ip nhrp map 172.16.254.1 X.X.X.X
ip nhrp map multicast X.X.X.X
ip nhrp network-id 101
ip nhrp holdtime 300
ip nhrp nhs 172.16.254.1
ip tcp adjust-mss 1360
delay 12
tunnel source GigabitEthernet0/0/0
tunnel mode gre multipoint
tunnel protection ipsec profile ODMVPN2

 

Hub End:

 

interface Tunnel1
bandwidth 200000
ip address 172.16.254.1 255.255.255.0
no ip redirects
ip mtu 1400
ip wccp redirect exclude in
no ip next-hop-self eigrp 50
no ip split-horizon eigrp 50
ip pim nbma-mode
ip pim sparse-dense-mode
ip nhrp map multicast dynamic
ip nhrp network-id 101
ip nhrp holdtime 300
ip tcp adjust-mss 1360
delay 120
tunnel source GigabitEthernet0/3.305
tunnel mode gre multipoint
tunnel protection ipsec profile ODMVPN2
end

 

Remove ALL tunnel interface configuration (no interface tunnel X) .  --- This trick really helped me to fix the socket issue. Thanks youuu so much. Issue got resolved, Tunnels came up.