Administrator Guide

Layer 3 Routing Commands 1415
Command History
Introduced in version 6.2.0.1 firmware.
Example
console(route-map)#match as-path 250
match community
To configure a route map to match based on a BGP community list, use the
match community command. To delete a match term from a route map, use
the no form of this command.
Syntax
match community
community-list
[
community-list
...] [exact-match]
no match community [
community-list
[
community-list
...] [exact-match] ]
community-list
—The name of a standard community list. Up to eight
names may be included in a single match term.
exact-match
—(Optional) When this option is given, a route is only
considered a match if the set of communities on the route is an exact
match for the set of communities in one of the statements in the
community list.
Default Configuration
No community match criteria are configured by default.
Command Mode
Route Map Configuration
User Guidelines
If the community list returns a permit action, the route is considered a
match. If the match statement refers to a community list that is not
configured, no routes are considered to match the statement.
no match community
list
exact-match removes the match statement from
the route map. (It doesn’t simply remove the exact-match option.)
2CSNXXX_SWUM204.book Page 1415 Monday, January 25, 2016 1:25 PM