Thank you, it work, but why in if statement it works: filter TEST { if bgp_origin = ORIGIN_IGP then { bgp_origin = 2; accept; } reject; }
22.12.2015, 03:05, "Olivier Benghozi" <olivier.bengh...@wifirst.fr>: > 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, Гаврилов Игорь <iggo...@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.