bgppath.filter question - modifying AS_PATH

Sergey Popovich popovich_sergei at mail.ru
Tue Dec 17 14:27:25 CET 2013


В письме от 17 декабря 2013 14:52:09 пользователь Javor Kliachev написал:
> Hello,
> 
> We use BIRD as Route Server.
> 
> According your documentation we would like to know how given AS_PATH can
> be modified for example:
> 
> To delete ALL ASNs from given AS_PATH except one AS predefined in int set.

On earlier bird versions this could be accomplished with

  bgp_path.empty; /* Seems still not documented yet */
  /* Or "bgp_path = +empty+" which is not officialy supported */
  bgp_path.prepend(50);

> Thanks in advance!
> 
> Best~

-- 
SP5474-RIPE
Sergey Popovich




More information about the Bird-users mailing list