10-05-2016 07:59 AM - edited 03-03-2019 08:22 AM
Hello,
Any idea how to monitor DMVPN using snmp polling method.
I am interesting to get the numbers of peer UP here an example below:
XXXXXXXXX-121#show dmvpn
Legend: Attrb --> S - Static, D - Dynamic, I - Incomplete
N - NATed, L - Local, X - No Socket
T1 - Route Installed, T2 - Nexthop-override
C - CTS Capable
# Ent --> Number of NHRP entries with same NBMA peer
NHS Status: E --> Expecting Replies, R --> Responding, W --> Waiting
UpDn Time --> Up or Down Time for a Tunnel
==========================================================================
Interface: Tunnel11120000, IPv4 NHRP Details
Type:Hub, NHRP Peers:1261, <<------------------------------------ [******THIS NUMBER********]
# Ent Peer NBMA Addr Peer Tunnel Add State UpDn Tm Attrb
----- --------------- --------------- ----- -------- -----
1 xx.xx.xx.5 xx.xx.xx.5 UP 1w0d D
1 xx.xx.xx.13 xx.xx.xx.xx UP 1w0d D
.
Interface: Tunnel11150000, IPv4 NHRP Details
Type:Hub, NHRP Peers:178, <<------------------------------------ [******THIS NUMBER********]
# Ent Peer NBMA Addr Peer Tunnel Add State UpDn Tm Attrb
----- --------------- --------------- ----- -------- -----
10-08-2016 04:08 PM
Have you tried the NHRP-MIB?
10-10-2016 06:59 AM
According to the documentation from CISCO following this link:
This is the only feature supported:
The NHRP Extension MIB module comprises objects that maintain redirect-related statistics for both clients and servers, and for the following SNMP notifications for critical DMVPN events:
The info that I need is exactly this output:
ROUTER-1#sh dmvpn | i NHRP Peers:
Type:Hub, NHRP Peers:1261,
Type:Hub, NHRP Peers:178,
Type:Hub, NHRP Peers:30,
ROUTER-1#
10-10-2016 07:06 AM
If the MIB doesn't support it, then you'll have to grab the info manually.
04-10-2017 01:02 AM
I am also looking for an answer on this question.....
04-18-2017 02:20 AM
04-18-2017 03:14 AM
Thanks for your reply
That graph seems to be the total number of IKE sessions over the device.
Can you also graph the number of IKE sessions *per tunnel* ?
04-19-2017 09:44 AM
04-21-2017 06:16 AM
I don't think it's that easy.
The total number of IKE sessions on a router is a variable at a fixed place, but the number of IKE peers on a specific - dynamically generated from the configuration - dmvpn tunnel will need some reference to the tunnel in it's OID string. And that won't be a variable that can be specified in advance.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: