cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13080
Views
0
Helpful
5
Replies

SNMP for monitoring BGP routes

ashwin_cisco
Level 1
Level 1

Is there any way by which we can find the number of routes and number of received routes using snmpget.

OID - 1.3.6.1.4.1.9.9.187.1.2.4.1.1 gives us information about the routes accepted after appling filters. But is there and OID for received-routes for a neighbour.

5 Replies 5

Dan Frey
Cisco Employee
Cisco Employee

May have to get two OIDs and use the sum of Accepted, Denied prefixes.

CISCO-BGP4-MIB::cbgpPeerAcceptedPrefixes.192.168.1.2.ipv4.unicast = Counter32: 15

CISCO-BGP4-MIB::cbgpPeerDeniedPrefixes.192.168.1.2.ipv4.unicast = Gauge32: 2

HTH,

Dan

Hi Dan,

Thanks, but I still have doubts if this will give the correct value.

If i have a neighbour 192.168.1.2.

enterprises.9.9.187.1.2.4.1.1.63.243.149.110.1.1 = Counter32: gives me the same value which i get in sh ip bgp nei 192.168.1.2 routes .

But cbgpPeerDeniedPrefixes ( 1.3.6.1.4.1.9.9.187.1.2.4.1.2) gives relative value which is not euivalent to ( accepted+denied)

Suggestion ..

Could you post the values for these OIDs:

CISCO-BGP4-MIB::cbgpPeerAcceptedPrefixes.192.168.1.2.ipv4.unicast = Counter32: 15

CISCO-BGP4-MIB::cbgpPeerDeniedPrefixes.192.168.1.2.ipv4.unicast = Gauge32: 2

CISCO-BGP4-MIB::cbgpPeerPrefixAdminLimit.192.168.1.2.ipv4.unicast = Gauge32: 0

CISCO-BGP4-MIB::cbgpPeerPrefixThreshold.192.168.1.2.ipv4.unicast = Gauge32: 0

CISCO-BGP4-MIB::cbgpPeerPrefixClearThreshold.192.168.1.2.ipv4.unicast = Gauge32: 0

CISCO-BGP4-MIB::cbgpPeerAdvertisedPrefixes.192.168.1.2.ipv4.unicast = Gauge32: 17

CISCO-BGP4-MIB::cbgpPeerSuppressedPrefixes.192.168.1.2.ipv4.unicast = Gauge32: 0

CISCO-BGP4-MIB::cbgpPeerWithdrawnPrefixes.192.168.1.2.ipv4.unicast = Gauge32: 0

Also post the "Total number of prefixs" shown by the "show ip bgp neigh 192.168.1.2" command

Thanks,

Dan

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.1.192.168.1.2.1.1 = Counter32: 151

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.2.192.168.1.2.1.1 = Gauge32: 2521

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.3.192.168.1.2.1.1 = Gauge32: 0

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.4.192.168.1.2.1.1 = Gauge32: 0

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.5.192.168.1.2.1.1 = Gauge32: 0

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.6.192.168.1.2.1.1 = Gauge32: 2213402

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.7.192.168.1.2.1.1 = Gauge32: 108514

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.8.192.168.1.2.1.1 = Gauge32: 986169

sh ip bgp neighbors 192.168.1.2

Sent Rcvd

Prefix activity: ---- ----

Prefixes Current: 55785 151 (Consumes 8424 bytes)

Prefixes Total: 2213421 1822

Implicit Withdraw: 1220931 1649

Explicit Withdraw: 986180 22

Used as bestpath: n/a 34

Used as multipath: n/a 34

Saved (soft-reconfig): n/a 84 (Consumes 4368 bytes)

can you please guide me how can i get these statistics for IPv6 BGP peers?