match community

This command matches a BGP community list.

Syntax

match community {<comm list std number>|<comm list exp number> |<comm list name>} 

Command

Description

comm list std number

Defines the community list number (standard). Range is 1-99.

comm list exp number

Defines the community list number (expanded). Range is 100-500.

comm list name

Defines the community list name.

Command Mode

Privileged User

Example

This example matches a BGP community list.

(config-data)# route-map ww permit 1
(conf-route-map)# match community commlist1