RE: [nsp] BGP 4 mib problem !!!

From: Sergio Ramos (sramos@gibnet.net)
Date: Thu Jul 18 2002 - 10:41:35 EDT


Hi!!

Cisco BGP4 MIB implementation follows RFC1657 "Definitions of Managed
Objects for BGP-4".
The object showing the number of prefixes received per peer was not
specified there.
You have to walk through the whole BGP table to calculate the prefixes
received from a peer.

Although Cisco introduced an extension to the MIB in release 12.0(21)S,
"BGP4 MIB Support for per-peer received routes", is just an improvement in
the way the table is indexed, but as far as I know there is still no way to
get that information with a simple SNMP request.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120
limit/120s/120s21/sbgprmib.htm

Let's see if Cisco pleases Jared and many of us!

An alternative is to do a script to parse the resuts of the 'bgp summary'
command. A very good reference is 'checkpeers':

http://sourceforge.net/projects/cosi-nms

Sergio.

-----Original Message-----
From: 8dsun [mailto:8dsun@mst.pchome.com.tw]
Sent: 17 July 2002 04:41
To: cisco-nsp@puck.nether.net
Subject: [nsp] BGP 4 mib problem !!!

Hi Mr.nsp

      Does anyone know oid number of bgp4 prefix entry ?
      
  Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
140.111.4.224 4 7482 144090 142919 14886353 0 0 12w1d
46
192.168.14.2 4 7482 143498 4963637 14886353 0 0 14w1d
1

      How to get the red value from snmp mib ?

      I want to use mrtg to monitor change of these entries

                                              Micky



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:05 EDT