RTBH

set routing-options static route 192.0.2.1/32 discard
set routing-options static route 192.0.2.1/32 no-readvertise
set routing-options rib inet6.0 static route 0100::/64 discard
set routing-options rib inet6.0 static route 0100::/64 no-readvertise

set community RTBH-IPv4 members target:123456:6664
set community RTBH-IPv6 members target:123456:6666

set policy-options policy-statement PS-RTBH-IPv4-Export term RTBH-injection from protocol static
set policy-options policy-statement PS-RTBH-IPv4-Export term RTBH-injection from tag 6664
set policy-options policy-statement PS-RTBH-IPv4-Export term RTBH-injection from route-filter 0.0.0.0/0 prefix-length-range /32-/32
set policy-options policy-statement PS-RTBH-IPv4-Export term RTBH-injection then community add RTBH-IPv4
set policy-options policy-statement PS-RTBH-IPv4-Export term RTBH-injection then community add no-export
set policy-options policy-statement PS-RTBH-IPv4-Export term RTBH-injection then next-hop 192.0.2.1
set policy-options policy-statement PS-RTBH-IPv4-Export term RTBH-injection then accept

set policy-options policy-statement PS-RTBH-IPv6-Export term RTBH-injection from protocol static
set policy-options policy-statement PS-RTBH-IPv6-Export term RTBH-injection from tag 6666
set policy-options policy-statement PS-RTBH-IPv6-Export term RTBH-injection from route-filter ::/0 prefix-length-range /128-/128
set policy-options policy-statement PS-RTBH-IPv6-Export term RTBH-injection then community add RTBH-IPv6
set policy-options policy-statement PS-RTBH-IPv6-Export term RTBH-injection then community add no-export
set policy-options policy-statement PS-RTBH-IPv6-Export term RTBH-injection then next-hop 100::
set policy-options policy-statement PS-RTBH-IPv6-Export term RTBH-injection then accept