Form 1: permit/permit
With form 1, the recommended form, if a match is made, accept the route, set the attribute (if you're using a set clause), and exit the route map. Otherwise, continue to the next route-map statement:
access-list 1 permit ip-address/mask
or
ip as-path access-list number permit regular-expression
or
ip prefix-list name permit prefix/length
or
ip community-list number permit 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.