[rbak-nsp] BGP Neighbor received routes count by SNMP

Wojciech Wrona w0jtas at w0jtas.com
Wed Jan 23 12:25:34 EST 2019


Hi everyone,
Is it possible to get BGP received routes count for specified neighbor 
via SNMP ? There is no such thing in BGP4-MIB, and i can't find anything 
about it in docs, but it would be nice diagnostic information.

Simply it would be good to get information marked red below:

[local]FineMEDIA_SE600#show bgp neighbor x.x.x.x
BGP neighbor: x.x.x.x, remote AS: zzzz, external link
   Version: 4, router identifier: x.x.x.x
   State: Established for 2w0d
   Description: aaaaaa
   Last read 00:00:00, last send 00:00:10
   Hold time: configured 180, negotiated 180
   Keepalive time: configured 60, negotiated 60
   Local restart timer 120 sec, stale route retain timer 180 sec
   Received restart timer 120 sec, flag 0x8000
   Number of hops external BGP neighbor may be away: 1
   Minimum time between advertisement runs: 30 secs
   Source (local) IP address: y.y.y.y
   Next hop set to self (next-hop-self)
   Received messages: 317190 (50175552 bytes), notifications: 0, in queue: 0
   Sent messages: 21057 (400892 bytes), notifications: 25, out queue: 0
   Reset count: 43, last reset time: 2w0d, reset reason: Remote/TCP close

   CapSent: refresh, 4byteAS, unicast, restart
   CapRcvd: refresh, 4byteAS, unicast
            restart (time 120, flags 0x8000, empty)

   Address family: ipv4 unicast
     BGP table version: 1167836391, neighbor version: 1167836094
     Route map in   : accepted
     Route map out  : advertised
     Route refresh requests: sent 3,  received 0
*Routes: rcvd 78454, imported 0, active 69445, history 0, dampend 0, 
sent 19*
     End-of-RIB marker rcvd



Thanks in advance
Best regards,

-- 
Wojciech Wrona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/redback-nsp/attachments/20190123/36a53883/attachment.html>


More information about the redback-nsp mailing list