|
Posted by jan.rockstedt@gmail.com on May 24, 2007, 10:55 am
If you were Registered and logged in, you could reply and use other advanced thread options > jan rockstedt@gmail com writes:
> > I am looking for a solution to get a graph for "sh ip bgp sum" routes
> > into mrtg.
> > Any sugestion how?
>
> Depending on IOS version, you may be able use SNMP to get those parts
> of "sh ip bgp sum" output that you need. In particular, look at
> cbgpPeerAcceptedPrefixes[1] and similar objects in CISCO-BGP4-MIB.
>
> IETF plug:
>
> The current IETF BGP-4 MIB (RFC 4273, formerly known as RFC 1657)
> doesn't contain any similar metrics. The IETF idr (inter-domain
> routing) Working Group is in the process of defining a new version of
> the MIB ("bgp4-mibv2"). It would be very helpful if operators could
> say what kinds of counters they would find how useful. Ideally on the
> idr mailing list, see [2], but if you're too lazy to subscribe there,
> I'll channel any discussion that happens here. The current state of
> the BGP-4 MIBv2 effort can be found in [3].
> --
> Simon.
>
> [1]http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translat...
> Note that the Cisco documentation, including the ASN.1 MIB file,
> claim that this is a "Counter32". In reality, it is implemented
> as a "Gauge32", which makes more sense anyway.
> [2]http://tools.ietf.org/wg/idr/
> [3]http://tools.ietf.org/wg/idr/draft-ietf-idr-bgp4-mibv2/
Thanks for the reply.
Our routers have this ios:
ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)
bgp-router uptime is 1 week, 1 day, 7 hours, 17 minutes
System returned to ROM by reload at 08:33:22 UTC Wed May 16 2007
System image file is "flash:c3825-advipservicesk9-mz.124-11.XJ.bin"
I wan't to have State/PfxRcd into MRTG.
Any sugestion for a conf or script?
Regards Jan Rockstedt
|