beautypg.com

3 match community – CANOGA PERKINS 9175 Command Reference User Manual

Page 491

background image

CanogaOS Command Reference

28-3

accepted nor forwarded, irrespective of permit or deny specifications.

The route specified by the policies might not be the same as specified by the routing protocols.

Setting policies enable packets to take different routes, depending on their length or content.

Packet forwarding based on configured policies overrides packet forwarding specified in routing

tables.

Note:

This command is valid only for BGP.


Command Syntax

match as-path LISTNAME

no match as-path


Syntax Description

LISTNAME

Specifies as autonomous system path access list

name.

Command Mode

Route-map mode

Defaults

No match as-path is specified by default.

Examples

Switch# configure terminal
Switch(config)# route-map myroute deny 34
Switch(config-route-map)# match as-path myaccesslist

Related Commands

match metric

match ip address

match community

set as-path

set community

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