Or modify variant with krt_source:
For enable announcing:
ip route change to dev lo proto NNN
For disable:
ip route change to dev lo proto kernel
protocol kernel MAIN{
persist;
scan time 20;
learn;
import where krt_source = NNN;
export all;
}
whe
ok on this.
>>
>> > Le 22 déc. 2015 à 08:31, Гаврилов Игорь a écrit :
>> >
>> > Thank you, it work, but why in if statement it works:
>> > filter TEST {
>> > if bgp_origin = ORIGIN_IGP then {
>> > bgp_origin = 2;
>> > acce
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, Гаврилов Игорь a écrit :
>>
>> Hi everyone! Could someone show me how to set
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.