policy-options {
    policy-statement ibgp-attacks-import {
        term blackhole {
            from {
                protocol bgp;
                community int-blackhole;
            }
            then {
                local-preference 900;
                next-hop discard;
                next policy;
            }
        }
    }
    community int-blackhole members [ 65300:666 65535:666 ];
}