10-28-2009 05:37 AM
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.
10-29-2009 05:15 PM
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
10-30-2009 06:04 AM
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:
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 ..
10-30-2009 08:35 AM
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
11-05-2009 05:44 AM
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)
09-18-2011 05:34 AM
can you please guide me how can i get these statistics for IPv6 BGP peers?
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: