[dev] BMP Issue in FRR 10.0

Boris Hassanov bhassanov at yahoo.com
Tue Aug 6 17:53:44 UTC 2024


Hi Donatas,
Thank you.
So what is the roadmap for a support of  Stats type 7 and 8?

SY,
Boris


On Tuesday, July 23, 2024 at 03:13:31 PM GMT+3, Donatas Abraitis <donatas.abraitis at gmail.com> wrote: 





You are checking the master branch (development) documentation. You should use https://docs.frrouting.org/en/stable-10.0/bmp.html.

On Tue, Jul 23, 2024 at 3:08 PM Boris Hassanov via dev <dev at lists.frrouting.org> wrote:
> 
> 
> 
> ---------- Forwarded message ----------
> From: Boris Hassanov <bhassanov at yahoo.com>
> To: "dev at lists.frrouting.org" <dev at lists.frrouting.org>
> Cc: 
> Bcc: 
> Date: Mon, 17 Jun 2024 17:12:18 +0000 (UTC)
> Subject: BMP Issue in FRR 10.0
> 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
> 
> 
> 
> 
> 
> 
> 
> 
> ---------- Forwarded message ----------
> From: Boris Hassanov via dev <dev at lists.frrouting.org>
> To: "dev at lists.frrouting.org" <dev at lists.frrouting.org>
> Cc: 
> Bcc: 
> Date: Mon, 17 Jun 2024 17:12:18 +0000 (UTC)
> Subject: [dev] BMP Issue in FRR 10.0
> _______________________________________________
> dev mailing list
> dev at lists.frrouting.org
> https://lists.frrouting.org/listinfo/dev
> 


-- 
Donatas



More information about the dev mailing list