BMP Issue in FRR 10.0

Boris Hassanov bhassanov at yahoo.com
Mon Jun 17 17:12:43 UTC 2024


Hi all,
During the testing I found strange BMP issue. RFC 7854 describes several types of BMP messages, one of them is Stats Report (https://www.rfc-editor.org/rfc/rfc7854#page-13).
The FRR documentation (.https://docs.frrouting.org/en/latest/bmp.html#bmp-session-configuration ) explicitly says:"   
   -    
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.

"The issue is that I do not see Stats Types 7 and 8 in the BMP message from FRR towards BMP collector (goBMP in my test setup):



There are only 7 statistic types and no statistic codes 7 and 8.
 Is this a bug or I missed something in BMP config ?
Here is the BMP config oof the FRR for the reference:
bmp targets ubuntu-BMP
  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).

Thank you in advance for the clarification.

SY,Boris




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/dev/attachments/20240617/c420c5b8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1718644161009blob.jpg
Type: image/png
Size: 262282 bytes
Desc: not available
URL: <http://lists.frrouting.org/pipermail/dev/attachments/20240617/c420c5b8/attachment-0001.png>


More information about the dev mailing list