3 match community – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 556

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 556 of 855

28.3 match community

Use this command to specify the community to be matched.
Use the no parameter with this command to remove the community list entry.

Communities are used to group and filter routes. They are designed to provide the ability to
apply policies to large numbers of routes by using match and set commands. Community lists
are used to identify and filter routes by their common attributes.

Use the match community command to allow matching based on community lists.
The values set by the match community command overrides the global values. The route
that does not match at least one match clause is ignored.

Note:

This command is valid only for BGP.

28.3.1.1 Command Syntax

match community WORD

no match community

28.3.1.2 Syntax Description

WORD

Specifies the Community-list name.

28.3.1.3 Command Mode

Route-map mode

28.3.1.4 Defaults

No match community is specified by default.

28.3.1.5 Examples

Switch# configure terminal
Switch(config)# route-map myroute permit 3
Switch(config-route-map)# match community mylist

Advertising