4 match interface – CANOGA PERKINS 9175 Command Reference User Manual

Page 335

Advertising
background image

CanogaOS Command Reference

19-4

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.


Command Syntax

match community WORD

no match community

Syntax Description

WORD

Specifies the Community-list name.

Command Mode

Route-map mode

Defaults

No match community is specified by default.

Examples

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

Related Commands

match ip address

match as-path

set as-path

set community

match metric

19.4 match interface

Use this command to define the interface match criterion.

Use the no parameter with this command to remove the specified match criterion.

.

Advertising