the following statistics codes are implemented:
0: count of prefixes rejected
2: count of duplicate prefix withdrawals
3: count of prefixes with loop in cluster id
4: count of prefixes with loop in AS-path
5: count of prefixes with loop in originator
7: count of routes in adj-rib-in
8: count of routes in Loc-RIB
11: count of updates subjected to RFC 7607 “treat as withdrawal” handling due to errors
65531: experimental count of prefixes rejected due to invalid next-hop
Note that stat items 3, 4 and 5 are specified to count updates, but FRR implements them as prefix-based counters.
bmp stats interval 300
bmp monitor ipv4 unicast pre-policy
bmp monitor ipv4 unicast loc-rib
bmp connect 10.30.131.101 port 5050 min-retry 30000 max-retry 3000 source-interface eth2
exit
FRR1# sh ver
FRRouting 10.0_git (FRR1) on Linux(5.15.0-102-generic).