On Fri, Feb 17, 2017 at 09:39:09AM -0600, Michael McConnell wrote: > Hello Daz, > > As far as I know there is no single command equivalent in bird, however you > can achieve basically the same by running these commands in a filter > > > export filter { > if (source net = 22.23.24.25/23 ) then { > bgp.path.empty; > bgp.path.prepend(22232); > accept;
Hi Note that it is 'bgp_path', not 'bgp.path'. Also this filter resets whole bgp_path. If you want just to remove private ASNs, you could do: bgp_path.delete([64512..65534, 4200000000..4294967294]); -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@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."
signature.asc
Description: Digital signature