protocol static { route 198.18.2.0/24 reject; ipv4 { }; } protocol bgp R0 { ipv4 { import all; export filter { # here we export the whole net if source ~ [RTS_STATIC, RTS_BGP] then { bgp_med = 200; accept; } reject; }; }; local 198.19.0.2 port 1179 as 4242420002; neighbor 198.19.0.0 port 1179 as 4242420000; };