[SOLVED]
For other user with the same problem:
I got replay from Roman Skopenko, he gave me solution that works.
protocol bgp test {
local as 65501;
neighbor 10.2.3.3 as 65501;
export filter {
if ( source = RTS_STATIC && net = 2.2.2.2/32 ) then {
bgp_path.empty;
bgp_path.prepend(65502);
bgp_path.prepend(65501);
accept;
};
};
};
So “bgp_path.empty“ was that what I need.
Many tnx to Roman.
@ Vadim.
I have network connected with static route to my BGP router.
This network has his own as-nr.
I want announce this as-nr (my_as static-net_as) to other BGP-Routers.
Best Regards.
Wojtek.