interfaces { ge-0/0/1 { unit 0 { family inet { address 172.16.0.14/30; } } } lo0 { unit 0 { family inet { address 10.10.0.1/32; } } } } routing-options { static { route 120.120.0.0/16 reject; } autonomous-system 65222; } protocols { bgp { group t1-t2 { type external; export t1=export; peer-as 65412; neighbor 172.16.0.13; } } } policy-options { policy-statement t1=export { term 1 { from { protocol static; route-filter 10.10.0.0/16 exact; } then accept; } term 2 { from protocol direct; then accept; } } }