Form 3: deny/permit

If a match is made, deny the route and exit the route map:

access-list 1 deny ip-address/mask

or

ip as-path access-list number deny regular-expression

or

ip prefix-list name deny prefix/length

or

ip community-list number deny community-number

route-map name permit sequence-number
 match ip address access-list-number

or

match as-path access-list-number

or

match ip address prefix-list list-name

or

match community community-list-number

Get Cisco® BGP-4 Command and Configuration Handbook (CCIE Professional Development) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.