BGP Route Monitoring

Michael Hare michael.hare at
Fri Jan 7 00:25:20 UTC 2022

Re: Adam's advice about IOS/XR SNMP access to VRF, while this experience may be a bit dated [IOS XR 5.x], in production we have used "snmp-server community-map $x context $y".  I will say we weren't pleased, we noticed that context switches didn't work well.  For example if our poller tried to simultaneously poll the global community and the vrf community at the same time, the results were non deterministic.  Maybe this has been improved in later versions, or if you always have a single poller that will always be sequential, you may never see this.

Although more work BMP is probably the better/safer approach.


From: NANOG < at> On Behalf Of Adam Thompson
Sent: Thursday, January 6, 2022 12:41 PM
To: Sandoiu Mihai <Mihai.Sandoiu at>; nanog at
Subject: RE: BGP Route Monitoring

Most monitoring products allow you to monitor custom SNMP OIDs, and your entire BGP RIB is - usually - exposed via SNMP.
Most monitoring products also treat "missing" OIDs specially, and can alert on that fact.
At least, that's how I would start doing it.
We use Observium here, and it can do what you want, albeit with a little bit of futzing around in the Custom OID and Alerts sections.

Cisco does weird things with getting SNMP data from VRFs, though, so... YMMV.  I know there used to be a Cisco-proprietary way to select which VRF you were polling common OIDs from, but don't remember the details.

Adam Thompson
Consultant, Infrastructure Services
100 - 135 Innovation Drive
Winnipeg, MB, R3T 6A8
(204) 977-6824 or 1-800-430-6404 (MB only)
athompson at<mailto:athompson at><>

From: NANOG < at< at>> On Behalf Of Sandoiu Mihai
Sent: Thursday, January 6, 2022 4:35 AM
To: nanog at<mailto:nanog at>
Subject: BGP Route Monitoring


I am looking for a route monitoring product that does the following:
-checks if a specific bgp route from a specific neighbor is present the BGP table (in some vrf, not necessarily internet routed vrf) of an ASR9K running IOS XR
-sends a syslog message or an alarm if the route goes missing

The use case is the following: we are receiving same routes over 2 or more bgp peerings, due to best route we cannot really see at the moment if one of the routes ceased to be received over a certain peering.

Alternative approach: a product that measures the number of bgp received prefixes from a certain peer.

Do you know of such product that is readily available and does not require ssh sessions to the routers and parsing the outputs?
I am trying to find a solution that does not require much scripting or customization.

Many thanks.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the NANOG mailing list