match community

Matches a community access list name in a route-map instance.

Syntax

match community name
no match community

Parameters

name
Name of a community access list. Values range from 1 through 32 ASCII characters.

Modes

Route-map configuration mode

Usage Guidelines

Enter no match community name to disable this feature.

You can configure up to five match community directives within a single stanza.

Examples

Typical command example:

device# config terminal
device(config)# route-map myroutes permit 10
device(config-route-map myroutes/permit/10)# match community ABCPath