community matching

skanda skanda at tpg.com.au
Thu May 9 07:28:44 CEST 2024


Hi Bird experts,

 

If I want match two communities, how does the syntax works in bird ?

 

standard communities to matched

6509:4804 and 6509:4810

 

Is it like this 



 

What are the pair inside the brackets means?

 

Or 

 

filter labips {

if (([(65001,4809, 4810)] ~ bgp_community) then

accept

}

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20240509/e267421d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7085 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20240509/e267421d/attachment.png>


More information about the Bird-users mailing list