[c-nsp] Monitoring IPv6 BGP Peering Status via SNMP

chip chip.gwyn at gmail.com
Fri Nov 11 09:41:48 EST 2011


Cisco should have a new BGPv4 Mib out this month that can deal with v6
stuff better.  I haven't seen it hit the ftp site yet though.



On Fri, Nov 11, 2011 at 7:54 AM, Christian Kratzer <ck-lists at cksoft.de> wrote:
> Hi,
>
> On Fri, 11 Nov 2011, Voigt, Thomas wrote:
>
>> Hi all,
>>
>> Joe Marr wrote:
>>
>>> Does anyone have experience in monitoring IPv6 BGP peering
>>> via SNMP. I'm
>>
>> I don't know if this works with Cisco gear, but I think it's a standard
>> MIB...
>>
>> Do a snmpwalk on BGP4-MIB::bgpPeerState. You will see an Entry for each
>> BGP Peer (IPv4+IPv6) you have.
>> But...
>> The OID for the IPv6-Peers is notated as if it would be IPv4. =;-)
>> So use the first (most left) 4 octets from  the IPv6 address of the peer
>> and note it decimal with points in between.
>> This will give you the complete OID to ask for.
>
> which as people have pointed out before is totally pointless if you are
> peering with multiple peers in the same /64.  The oid will be the same
> for all peers.
>
> Not sure if the are proprietary mibs available so that one could walk
> all ipv6 peers.
>
> Greetings
> Christian
>
>
>> Example:
>>
>> If the Peer is fe80:dad3:abcd::1
>>
>> 0xfe = 254
>> 0x80 = 128
>> 0xda = 218
>> 0xd3 = 211
>>
>> You have to ask for this OID
>>
>> BGP4-MIB::bgpPeerState.254.128.218.211
>>
>>
>
> --
> Christian Kratzer                      CK Software GmbH
> Email:   ck at cksoft.de                  Wildberger Weg 24/2
> Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
> Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
> Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>



-- 
Just my $.02, your mileage may vary,  batteries not included, etc....



More information about the cisco-nsp mailing list