3 match community – CANOGA PERKINS 9175 Command Reference User Manual

Page 334

Advertising
background image

CanogaOS Command Reference

19-3

not redistributed or controlled. If the match criteria are not met then the route is neither

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

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

Advertising