community matching

skanda skanda at tpg.com.au
Sun May 12 01:36:35 CEST 2024


Hi Team,

 

Any help ?

 

From: Bird-users <bird-users-bounces at network.cz> On Behalf Of skanda
Sent: Thursday, 9 May 2024 3:29 PM
To: bird-users at network.cz
Subject: community matching

 

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/20240512/9970e497/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/20240512/9970e497/attachment.png>


More information about the Bird-users mailing list