[ixpmanager] Special attributes for bird configuration when managed by IXP Manager

Barry O'Donovan barry.odonovan at inex.ie
Fri Aug 21 14:37:33 IST 2020


Hi Salvador,

this can be done on a per-peer export configuration file:

https://docs.ixpmanager.org/features/route-servers/#per-asn-import-export-filters

which would be included here:

https://git.io/JJjzF

So I think you'd want something like:

1. Enable skinning if not already done:

https://docs.ixpmanager.org/features/skinning/


2. Assuming your skin is 'skinname', create a file:

resources/skins/skinname/api/v4/router/server/bird2/f_export_as65500.foil.php

where 65500 is the member ASN.

3. Set contents to:


bgp_path.prepend( routeserverasn );



(note that 'routeserverasn' is a variable and can be used exactly as 
typed above.


And test test test!


Hope that helps,
  - Barry


Salvador Bertenbreiter wrote on 21/08/2020 14:22:
> Hi guys,
> I hope you all are doing great and staying safe. I have a problem with 
> special bird route server configuration while being managed by the IXP 
> Manager. One of our peers is having issues because they can't remove the 
> bgp enforce-first-as and we are seeing an error in bird saying malformed 
> AS_path, unfortunately they told me that they can't remove that, I read 
> that if I manually add the route server's ASN to the as_path for that 
> peer in the bird configuration it fixes the issue, the problem is that 
> after a sync between the IXP Manager and the bird it will delete the 
> manual bird change to add the ASN to the as_path. Any suggestions how to 
> add this into IXP Manager configuration for that peer?
> 
> Thanks,
> 
> Salvador
> 
> 
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager
> 


-- 

Kind regards,
Barry O'Donovan
INEX Operations

https://www.inex.ie/support/
+353 1 531 3339




More information about the ixpmanager mailing list