filter oixp_export {
if ip4_mynet() then {
bgp_ext_community.add((ro,0:1317xx));
accept;
}
else reject;
}
And here is the results:
103.xxx.yyy.0/24 unreachable [announce 2016-06-13] * (200)
Type: static unicast univ
BGP.origin: IGP
BGP.as_path: 134xyz
BGP.next_hop: 103.nnn.xxx.yyy
BGP.local_pref: 0
BGP.ext_community: (ro, 0, 1317xx)
If any missing configuration, please let me know :d
Thank you
On Sun, Jun 19, 2016 at 06:08:59PM +0700, David S. wrote:
> Dear All,
>
> I don't want to advertise my network to some 1317xx, and I found the
> following error:
>
> /usr/local/etc/bird.conf, line 14: Value 1317xx out of range (0-65535)
> Does bird have AS limitation on bgp community filtering?
BGP communities are generally limited to 16bit AS numbers.
You have to use extended communities for 32bit AS numbers.
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@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."