beautypg.com

4 match interface – CANOGA PERKINS 9175 Command Reference User Manual

Page 492

background image

CanogaOS Command Reference

28-4

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

28.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.

.

The match interface command specifies the next-hop interface name of a route to be matched.