BGP peering information (ipv6 and 32-bit ASN) is simply not available via SNMP -- on both Cisco and Juniper.
So, you end up with CLI parsing if you really need that.

With Junipers, there's also an XML interface which is easier to process and is more reliable (with Cisco CLI, linebreaks are sometimes a pain).

IOS XR also provides an XML interface, but I never had a chance to check if BGP peering information is in there.




From: Marco Fretz <marco.fretz@gmail.com>
To: swinog@lists.swinog.ch
Sent: Friday, February 3, 2012 2:58 PM
Subject: Re: [swinog] IPv6 BGP unicast peers / OSPFv3 neighbors SNMP monitoring

Thanks for the answers. Maybe I've to clarify that I need this for
Cisco only at the moment. So can I take this as a "there is no working
snmp mib / implementation" yet?

It's somehow a shame that Cisco has IPv6 routing protocols working for
years and no working snmp (even not a proprietary) solution yet.
Please correct me if I'm wrong.

I'll have a look at gerty, sounds promising, also for other
applications, but I'm still looking for an snmp solution because it's
just ugly to use console commands (in whatever way) to query simple
counters and status information when you already have the whole
network monitored and graphed by snmp.


Marco

On Fri, Feb 3, 2012 at 10:01 AM, Jeroen Massar <jeroen@unfix.org> wrote:
> On 2012-02-03 09:29 , Marco Fretz wrote:
>> Hi SwiNOGers,
>>
>> I started searching the web for a good solution on this task years
>> ago. There was and is as far I can tell no actual SNMP MIB for
>> monitoring IPv6 BGP and OSPFv3. The only thing that could be a
>> solution is this already expired IETF draft
>> http://tools.ietf.or/html/draft-ietf-idr-bgp4-mibv2-10
>>
>> Can anyone give me an idea of how you are monitoring your IPv6 BGP
>> peers and OSPFv3 neighbors (stuff like Status, prefixes, etc..)?
>
> Depending on the device, telnet/ssh into it, execute the relevant 'show
> bgp neigh' command and use that.
>
> Not ideal and one has to do this generally for a variety of things, but
> it avoids this weird thing called SNMP ;)
>
> Greets,
>  Jeroen


_______________________________________________
swinog mailing list
swinog@lists.swinog.ch
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog