Syntax for setting bgp_origin

Olivier Benghozi olivier.benghozi at wifirst.fr
Tue Dec 22 02:05:41 CET 2015


Yep, it's not very user friendly... The doc is problematic about this attribute.

In fact it appears that you must use 0/1/2 (values following the RFC), so for incomplete you must use 2.

> Le 21 déc. 2015 à 21:48, Гаврилов Игорь <iggorok at yandex.ua> a écrit :
> 
> Hi everyone! Could someone show me how to set bgp_origin attribute on redistributed prefixes?
> I have tried 
> if net =10.0.0.0/8 then {
> bgp_origin = ORIGIN_INCOMPLETE;
> accept;
> }
> But it doesn't work.




More information about the Bird-users mailing list