On Fri, Mar 17, 2006 at 04:39:28PM +0200, Claudiu Pruna wrote:
>       Hi, 
> 
>       I have just decided to switch 2 of my routers from linux to openbsd and
> of course planned to use OpenBGPD instead of zebra or quagga, but
> everithing went well untill I wanted to export to some peer additive
> communities like the equivalent of "set community 65003:6001 65003:6002
> additive" in cisco or zebra when I tried the set parameter on per peer
> setting, setting it in the filters, but all I could was to announce 1
> community, with the 
> 
>       "match to $peer1 set community 65003:6001"
> 
>       if I have tried anything like 
> 
>       "match to $peer1 set community 65003:6001 65003:6002 additive"
>       
> or
>       "match to $peer1 set community { 65003:6001 65003:6002 }"
> 
>       all I got was syntax error.
> 
>       So here comes the question: 
>       Is it supported on openbgpd to export additive communities ?
> 


match to $peer1 set set { community 65003:6001, community 65003:6002 }
should work. You need a 3.9 or even better -current bgpd beause earlier
version allowed only one community per AS (65003) to be set.

Btw. in bgpd "additive" is the default for set community and you need to
do "set comminity delete" to get rid of a community.

-- 
:wq Claudio

Reply via email to