Question about filter with BGP Communities and BGP Extended Communities

Ondrej Zajicek santiago at crfreenet.org
Sat Oct 29 01:34:04 CEST 2016


On Fri, Oct 28, 2016 at 07:04:01PM -0200, Lucenildo Lins Aquino Júnior wrote:
> Hi All,
> 
> I am run bird for lab and I am with a difficult to create a filter with
> bgp communities and bgp extended communities.
> 
> In my filter at first I check if router need go only for peer ASN, note
> that is a export filter. If not only for peer ASN and have
> only-community (65001:* or ro:65001:*) drop this route.
> 
> I was executed troubleshooting and I could determinate that problem is
> in this operation: "(([(65001,*)] ~ bgp_community) || ([(ro,65001,*)] ~
> bgp_ext_community))".

Hi

You have to use it the other way: bgp_community ~ [(65001,*)]

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20161029/07351069/attachment.asc>


More information about the Bird-users mailing list