! community-set BGPBH-SPAM 65055:25, 65055:26, 65055:27 end-set ! community-set BGPBH-TALOS 65055:999 end-set ! community-set BGPBH-BOGONS 65055:666 end-set ! route-policy BGP-DROP drop end-policy ! route-policy BGP-BH-FEED-IN-V4 if community matches-any BGPBH-SPAM or community matches-any BGPBH-BOGONS or community matches-any BGPBH-TALOS then set next-hop 192.0.2.1 set local-preference 666 set origin igp pass endif end-policy ! router static address-family ipv4 unicast 192.0.2.0/24 Null0 192.0.2.1/32 Null0 ! interface Null0 ipv4 icmp unreachables disable ! interface GigabitEthernet0/0/0/0 ipv4 verify unicast source reachable-via any allow-default ! router bgp X bgp router-id A.B.C.D address-family ipv4 unicast ! neighbor-group BGPBH-V4 remote-as 65055 ebgp-multihop 255 local-as 65055 address-family ipv4 unicast route-policy BGP-BH-FEED-IN-V4 in route-policy BGP-DROP out ! ! neighbor 195.136.71.54 use neighbor-group BGPBH-V4 ! neighbor 77.79.194.196 use neighbor-group BGPBH-V4 ! !