match community
To configure a route map to
match based on a BGP (Border Gateway Protocol) community list, use the match
community command in Route Map Configuration mode. 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.
Format |
match community community-list
[community-list...] [exact-match] |
Mode |
Route Map Configuration |
Parameter |
Description |
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. |