Remove Private As Example

Michael McConnell michael at winkstreaming.com
Fri Feb 17 16:39:09 CET 2017


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;
	}
}
Hope that helps,
Mike

--
Michael McConnell
WINK Streaming;
email: michael at winkstreaming.com <mailto:michael at winkstreaming.com>
phone: +1 312 281-5433 x 7400
cell: +506 8706-2389
skype: wink-michael
web: http://winkstreaming.com <http://winkstreaming.com/>
> On Feb 17, 2017, at 8:52 AM, Darren Marshall <darren at tuff.org.uk> wrote:
> 
> Hi guys,
> 
> Does anyone have an example bird configuration for remove private-as numbers , looking for same functionaility as the Cisco remove-private-AS knob.
> 
> Thanks daz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170217/fc4c9cf3/attachment.html>


More information about the Bird-users mailing list