policy-statement NO-EXPORT term 1 { from { protocol bgp; route-type internal; } then reject; }
and then add this policy before your normal one ( or merge)
bgp { group EBGP { type external; peer-as 2; neighbor 1.1.1.1 { local-address 1.1.1.2; export [ NO-EXPORT announce-prefix ]; } }
regards
alexander