Skip to content

Instantly share code, notes, and snippets.

@suidroot
Last active January 31, 2021 16:10
Show Gist options
  • Save suidroot/21852b241183714dfd29 to your computer and use it in GitHub Desktop.
Save suidroot/21852b241183714dfd29 to your computer and use it in GitHub Desktop.
Cisco DMVPN NHRP SNMP Monitoring
! Uses CISCO-NHRP-EXT-MIB and NHRP-MIB
! Enable DMVPN Syslog (bonus)
logging dmvpn
interface t0
! enable Tunnel interface state tracking based on nhrp state
if-state nhrp
! enable NHRP-SNMP Agent
snmp mib nhrp
! Verification
! HUB1#sh snmp mib nhrp status
! NHRP-SNMP Agent Feature: Enabled
! NHRP-SNMP Tree State: Good
! ListEnqueue Count = 0 Node Malloc Counts = 2
! Enable NHRP Traps
snmp-server enable traps nhrp nhs
snmp-server enable traps nhrp nhc
snmp-server enable traps nhrp nhp
snmp-server enable traps nhrp quota-exceeded
@danishv
Copy link

danishv commented Jan 31, 2021

How we can monitor tunnel status or NBMA peer IP using MIBS? do we have any MIBS for that ?

@suidroot
Copy link
Author

How we can monitor tunnel status or NBMA peer IP using MIBS? do we have any MIBS for that ?

I don't have this information, I have not tested this in a while

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment