Aller au contenu principal

3. Statistiques de surveillance RIB

3. Statistiques de surveillance RIB

3.1. Statistics Format

BMP Statistics Report messages carry statistics in TLV form (Stat Type, Stat Len, Stat Data). Statistics in this document are either Global Statistics or Per-AFI/SAFI Statistics. For Global Statistics, Stat Data is a single 64-bit unsigned integer Gauge and Stat Len MUST be 8. Each global statistic MUST appear only once in a BMP Statistics Report message.

For Per-AFI/SAFI Statistics, Stat Data is an 11-byte value: 2-byte AFI, 1-byte SAFI, and a 64-bit Gauge. Stat Len MUST be 11. For any per-AFI/SAFI Statistic, duplicate (AFI, SAFI) pairs MUST NOT appear in the same BMP Statistics Report message, and such statistics MUST NOT be included when there is no data for that AFI/SAFI.

If statistics apply to the Loc-RIB, the Peer Type field in the Per-Peer Header MUST be set to 3 (Loc-RIB Instance Peer) [RFC9069]. Otherwise, Peer Type is set as defined in Section 4.2 of [RFC7854]. A BMP implementation MUST ignore unrecognized Stat Types upon receipt.

3.2. Adj-RIB-In RIB Monitoring Statistics Definition

Stat TypeDescription
18Number of routes currently in the pre-policy Adj-RIB-In.
19Number of routes currently in the per-AFI/SAFI pre-policy Adj-RIB-In.
20Number of routes currently in the post-policy Adj-RIB-In.
21Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-In.
22Number of routes currently in the per-AFI/SAFI pre-policy Adj-RIB-In rejected by an inbound policy.
23Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-In accepted by an inbound policy.
26Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-In or Loc-RIB suppressed by a configured route-damping policy.
27Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-In or Loc-RIB marked as stale by GR events.
28Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-In or Loc-RIB marked as stale by LLGR.
29Number of routes currently in the post-policy Adj-RIB-In left before exceeding the received-route threshold.
30Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-In left before exceeding the received-route threshold.
31Number of routes currently in the post-policy Adj-RIB-In or Loc-RIB left before exceeding a license-customized route threshold.
32Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-In or Loc-RIB left before exceeding a license-customized route threshold.
33Number of routes currently in the pre-policy Adj-RIB-In rejected due to exceeding the locally configured maximum AS_PATH length.
34Number of routes currently in the per-AFI/SAFI pre-policy Adj-RIB-In rejected due to exceeding the locally configured maximum AS_PATH length.
35Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-In invalidated after verifying the route origin ASN through the ROA of the RPKI and mismatch of prefix length.
36Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-In validated after verifying the route origin ASN through the ROA of the RPKI.
37Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-In whose RPKI route origin validation state is NotFound.

3.3. Adj-RIB-Out RIB Monitoring Statistics Definition

Stat TypeDescription
38Number of routes currently in the per-AFI/SAFI pre-policy Adj-RIB-Out rejected by an outbound policy.
39Number of routes currently in the pre-policy Adj-RIB-Out filtered due to AS_PATH length exceeding the locally configured maximum.
40Number of routes currently in the per-AFI/SAFI pre-policy Adj-RIB-Out filtered due to AS_PATH length exceeding the locally configured maximum.
41Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-Out invalidated after verifying the route origin ASN through the ROA of the RPKI and mismatch of prefix length.
42Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-Out validated after verifying the route origin ASN through the ROA of the RPKI.
43Number of routes currently in the per-AFI/SAFI post-policy Adj-RIB-Out whose RPKI route origin validation state is NotFound.