beautypg.com

2 match as-path – CANOGA PERKINS 9175 Command Reference User Manual

Page 333

background image

CanogaOS Command Reference

19-2

The permit keyword is the default.

Examples

The following example shows how to create a route-map and enter route-map
configuration mode:
Switch(config)# route-map rip-to-ospf permit

Switch(config-route-map)# match metric 1

Switch(config-route-map)# set metric 2

Related Commands

match as-path

match community

match interface

match ip address

match local-preference

match metric

match origin

match route-type

match tag

set aggregator

set as-path

set atomic-aggregate

set comm-list

set community

set dampening

set extcommunity

set ip address

set local-preference

set metric

set metric-type

set origin

set originator-id

set tag

set vpnv4

set weight

19.2 match as-path

Use this command to match an autonomous system path access list.

Use the no parameter with this command to remove a path list entry.

The match as-path command specifies the autonomous system path to be matched. If there is a

match for the specified AS path, and permit is specified, the route is redistributed or controlled,

as specified by the set action. If the match criteria are met, and deny is specified, the route is