06-21-2024 07:11 AM - edited 06-21-2024 07:15 AM
I am using 8000 series one with IOS-XR 7.11.2 and other with 7.7.2.
When I did a snmpwalk, neither had the complete set of bgp4 mibs. Is that possible ? or am I missing something ?
I am trying to poll bgp advertised and accepted prefixes.
cbgpPeerAcceptedPrefixes 1.3.6.1.4.1.9.9.187.1.2.4.1.1 ---- missing
cbgpPeerAdvertisedPrefixes 1.3.6.1.4.1.9.9.187.1.2.4.1.6 --- missing
Is there any other way to poll these 2x metrics ??
I have attached bgp mibs available post snmpwalk.
06-21-2024 10:01 AM - edited 06-21-2024 10:59 AM
Is the peer using bgp address families?
06-21-2024 04:14 PM
Yes
06-21-2024 10:28 AM
Hello,
what if you poll these values individually, e.g.:
snmpwalk -v2c -c cisco 172.168.160.237 CISCO-BGP4-MIB::cbgpPeerAdvertisedPrefixes
snmpwalk -v2c -c cisco 172.168.160.237 CISCO-BGP4-MIB::cbgpPeerAcceptedPrefixes
Or configure SNMPv3 and poll that...
snmpwalk -v3-
?
06-21-2024 06:14 PM
06-22-2024 03:06 AM
Hello,
indeed it should resolve to the same OID, I just wonder if maybe the snmpwalk causes these values to be ommitted...
You could also (obviously) try SNMPv1...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide