[j-nsp] Limit on the number of BGP communities a route can be tagged with?

Alexander Arseniev arseniev at btinternet.com
Tue Aug 23 08:03:46 EDT 2016


Hello,


In BGP messages, a regular community is encoded in 7 bytes, and extended 
one in 11 bytes.

Max BGP message size is 4096 bytes - this sets a limit for regular 
communities number to about 4K/7=570, and for extended communities to 
about 4K/11=360, if You consider the minimal mandatory information that 
has to be there apart from communities.

HTH

Thx

Alex


On 23/08/2016 03:18, Huan Pham wrote:
> Hi mailing-list,
>
> I remember hitting a limit on a number of communities (something like 10 or
> so) on a platform (can not remember which one from which vendor). So I
> believe that there is a hard limit a platform or OS can support.
>
> I test this in the lab and found no problem with tagging 100 communities.
>
> Is there a maximum number of communities that Junos can tag to a route? If
> yes, then what it is?  Thanks.
>
> Huan
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list