routing filter set-bgp-communities ASN 32bit bug/error

Hello,

on the DE-CIX, the way to dont export a advertisemend to one peer is doing a setting BGP communitie.

But I get error when I try to add a ASN 32bit on the set-bgp-communities parameter.

Is not detected as a ASN.

Hi,

RouterOS doesn’t have extended communities support yet (aside from the ROUTE-TARGET type one for MPLS VPN). The set-bgp-community is only for 32 bits community, hence you can’t add a 32 bit ASN in there, only 16 bits ones

The workaround is to use a different community if the ASN is greater than 65535. This needs to be used on both sides, of course. Using the ASN as the first 16-bits of the community is not a requirement…An arbitrary number can be used there.

I’d really like to see this fixed, though.

How do you expect it to be fixed? BGP communities are only 4bytes, so it is like trying to carry 2 litres of water in one litre bottle.

Only Extended communities can be used instead.