Monday, November 5, 2018

BGP Route-Map (Cisco), do I need a "permit all"?

I don't know why I'm having such a hard time tracking down this information.

I want to filter out any BGP routes coming in with a certain community string.

ip community-list 1 permit 4137556860 route-map i-matchcommunity deny 10 match community 1 router bgp 12345 neighbor 192.168.1.1 route-map i-matchcommunity in 

I've read that a route-map has an implicit "deny all" at the end, so do I also need:

route-map i-matchcommunity permit 20 

and if I do, do I need anything inside that route-map statement?



No comments:

Post a Comment