[rbak-nsp] Numer of received prefixes by SNMP

Wojciech Wrona w0jtas at w0jtas.com
Thu Apr 4 04:28:29 EDT 2019


Hi,
i'm wondering if is there any way to get the number of received & active 
prefixes for each neighbor by SNMP ? Can't find it anywhere.

I'm asking about those two number (marked red & bold):

#show bgp neighbor xx.xx.xx.xx
BGP neighbor: xx.xx.xx.xx, remote AS: xx, external link
   Version: 4, router identifier: yy.yy.yy.yy
   State: Established for 00:27:08
   Description: xxxxxxxxxxxxxxx
   Last read 00:00:00, last send 00:00:22
   Hold time: configured 180, negotiated 90
   Keepalive time: configured 60, negotiated 30
   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: xx.xx.xx.xx
   Next hop set to self (next-hop-self)
   Received messages: 179933 (16217728 bytes), notifications: 0, in queue: 0
   Sent messages: 68 (1855 bytes), notifications: 3, out queue: 0
   Reset count: 6, last reset time: 00:30:04, 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: yyyy, neighbor version: yyyy
     Route map in   : upstreams_accepted
     Route map out  : peerings_advertised
     Routes:*rcvd 761820*, imported 0, *active 353593*, history 0, 
dampend 0, sent 15
     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/20190404/d7b2ce0a/attachment.html>


More information about the redback-nsp mailing list