[c-nsp] BGP blackhole community config

Satish Patel satish.txt at gmail.com
Mon Jun 20 13:47:34 EDT 2016

This is my ASR config, can you tell me what is wrong here?

router bgp 100
 bgp log-neighbor-changes
 network xx.xx.xx.xx mask
 redistribute static route-map RTBH
 neighbor xx.xx.xx.xx remote-as 200
 neighbor xx.xx.xx.xx send-community
ip forward-protocol nd
ip bgp-community new-format

ip route Null0
route-map RTBH permit 10
 match tag 666
 set community 64682:0
 set ip next-hop
route-map RTBH permit 20

This is what i am sending to blackhole traffic

ip route x.x.x.x null0 tag 666

On Mon, Jun 20, 2016 at 1:41 PM, Jared Mauch <jared at puck.nether.net> wrote:
>> On Jun 20, 2016, at 1:38 PM, Satish Patel <satish.txt at gmail.com> wrote:
>> I have tried that too and got this error.
>> R1(config-router)#neighbor xx.xx.xx.xx route-map RTBH out
>> % "RTBH" used as BGP outbound route-map, tag match not supported
>> % not supported match will behave as route-map with no match
>> R1(config-router)#
> Tags are specific to Cisco, you should be using a community instead.
> You can use something like redistribute static against a route-map that matches the tag and marks your (local) discard community.
> This is what I recommend you do.
> - Jared

More information about the cisco-nsp mailing list