BGP monitoring protocol

The BGP Monitoring Protocol (BMP) provides a monitoring station that obtains route updates and statistics from a BGP router. The BMP protocol is described in detail in RFC 7854, BGP Monitoring Protocol (BMP). A router communicates information about one or more BGP sessions to a BMP station. Specifically, BMP allows a BGP router to advertise the pre-policy or post-policy BGP RIB-In from specific BGP peers to a monitoring station. This allows the monitoring station to monitor the routing table size, identify issues, and monitor trends in the table size and update or withdraw the frequency. The BMP station is also sometimes called a BMP collector. A router sends information in BMP messages to a BMP station.

BMP is a unidirectional protocol. A BMP station never sends back any messages to a router.

BMP allows a router to report different types of information.

BMP on an SR OS router reports information about routes that were received from a neighbor. The SR OS cannot report routes that were sent to a neighbor.

When periodic statistics are enabled, the router sends all the statistics as described in RFC 7854, section 4.8, with the exception of statistic number 13, ‟Number of duplicate update messages received”. The supported statistics are listed in Table: Supported statistics .

Table: Supported statistics
Statistic Type

Number of Prefixes rejected by inbound policy

0

Number of duplicate prefix advertisements received

1

Number of duplicate withdraws received

2

Number of invalidated prefixes because of Cluster_List loop detection

3

Number of invalidated prefixes because of AS_PATH loop detection

4

Number of invalidated prefixes because of Originator ID validation

5

Number of invalidated prefixes because AS-Confed loop detection

6

Total number of routes in adj-rib-in (all families)

7

Total number of routes in Local-RIB (all families)`

8

Number of routes per address-family in adj-rib-in

9

Number of routes per address-family in loc-rib

10

Number of updates subjected to treat-as-withdraw

11

Number of prefixes subjected to treat-as-withdraw

12

Note: Statistics 9 and 10 are per address family. The address family is specified as an AFI/SAFI pair. Regardless of which families are configured for route-monitoring, a router reports the statistics of all address families that were negotiated with the neighbor.

The values in these counters are the same values that can be seen in the show>router>bgp>neighbor ip-address [detail] command in the CLI.