06-16-2015 03:39 AM
Hello,
I would appreciate if you could help me with IOS XR snmp.
I have a problem with BGP4-MIB, for example i need to know BGP peers addreses - bgpPeerRemoteAddr .1.3.6.1.2.1.15.3.1.7. But i see only neighbors wich are in global routing table. If BGP neighbor in VRF i can't monitor that via SNMP.
For example:
snmpwalk -v2c -c cisco 1.1.1.1 .1.3.6.1.2.1.15.3.1.7
iso.3.6.1.2.1.15.3.1.7.1.2.3.4 = IpAddress: 1.2.3.4
iso.3.6.1.2.1.15.3.1.7.4.3.2.1 = IpAddress: 4.3.2.1
1.2.3.4 and 4.3.2.1 in global, but also i have BGP neighbors inside a VRF:
router bgp 1111
address-family ipv4 unicast
!
address-family vpnv4 unicast
!
address-family ipv6 unicast
!
address-family vpnv6 unicast
!
neighbor 1.2.3.4
use neighbor-group RRClient
!
neighbor 4.3.2.1
use neighbor-group RRClient
!
vrf Border
neighbor 7.7.7.7
use neighbor-group ServiceZone
!
So, why bgpPeerRemoteAddr .1.3.6.1.2.1.15.3.1.7 doesn't show me 7.7.7.7 neighbor? For Catalyst 6500 it works fine.
Also i need to monitor this:
bgpPeerRemoteAs .1.3.6.1.2.1.15.3.1.9
bgpPeerAdminStatus .1.3.6.1.2.1.15.3.1.3
bgpPeerInTotalMessages .1.3.6.1.2.1.15.3.1.12
bgpPeerOutTotalMessages .1.3.6.1.2.1.15.3.1.13
bgpPeerInUpdates .1.3.6.1.2.1.15.3.1.10
bgpPeerOutUpdates .1.3.6.1.2.1.15.3.1.11
cbgpPeerAcceptedPrefixes .1.3.6.1.4.1.9.9.187.1.2.4.1.1
cbgpPeerAdvertisedPrefixes .1.3.6.1.4.1.9.9.187.1.2.4.1.6
cbgpPeerDeniedPrefixes .1.3.6.1.4.1.9.9.187.1.2.4.1.2
All these indexes have the same problem, for neighbors 1.2.3.4 and 4.3.2.1 all good, but for 7.7.7.7 nothing...
Is it possible to monitor BGP neighbors inside a VRF? Any chance to monitor IPv6 BGP sessions via SNMP?
I use IOS XR version 5.3.1.
Thanks!