[j-nsp] need HELP black holing a /32 via BGP community.

Dave Bell me at geordish.org
Thu Sep 15 13:02:09 EDT 2016


Looks good. You may just want to add a /32 route so you have one to send.

set routing-options static route A.B.C.D/32 discard

Looks like you may be missing a 6 from a community too?

Regards,
Dave

On 15 September 2016 at 17:53, Matthew Crocker <matthew at corp.crocker.com>
wrote:

>
>
> Hello,
>
> I have a /32 that I need to add a community to so get my upstreams to
> blackhole the traffic.
>
> Can anyone send me any points on how to do that?
>
> I have:
>
> policy-statement pl-blackhole {
>     term match-route {
>         from {
>             prefix-list blackhole-prefixes;
>         }
>     }
>     then {
>         community add blackhole;
>         accept;
>     }
> }
>
>
> prefix-list blackhole-prefixes {
>     A.B.C.D/32;
> }
>
> community blackhole members [ 7922:666 1239:66 ];
>
>
>
> I’ve added pl-blockhole to my upstream BGP group export statement.
>
> Am I on the right track?  What am I missing?
>
>
>
> --
> Matthew Crocker
> President – Crocker Communications
> matthew at corp.crocker.com<mailto:matthew at corp.crocker.com>
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list