PREV NEXT INDEX

Avici Systems Inc.


match as-path


Adds autonomous system path to the matching clauses of the specified route map.

Syntax: match as-path list-name [list-name...]

no match as-path [list-name...]

list-name

Name of a defined autonomous system path based access list. Case is significant.

Description: Use the ip as-path access-list command to create an access list based on autonomous system paths. Use the show ip access-lists command to display the names of all defined as-path access lists.

Use the match as-path command to configure the route map to test whether the route's autonomous system path matches autonomous system paths in the specified as-path access-list. Routes without a matching autonomous system path are ignored.

Use the no match as-path command to delete a as-path access list matching clause from the route map.

Use the route-map command to create a route map. Use the various match and set commands to define the conditions for redistributing routes between protocols.

Route maps consist of sets of match and set commands. Match commands define the match criteria for route maps. Routes that match all defined match criteria are processed according to the actions defined by the set commands. Routes that do not match all of the defined match criteria in the route map are ignored.

Factory Default: No path lists defined.

Command Mode: Route map configuration.

Example: In the following example:

router(config)#ip as-path access-list 40 permit _411_

router(config)#ip as-path access-list 40 permit ^401$

router(config)#ip as-path access-list 40 deny .*

router(config)#route-map match40 permit 10

router(config-route-map)#match as-path 40

router(config-route-map)#end

router(config)#

Related Commands: ip as-path access-list
match community
match ip address
match ip next-hop
match ip route-source
match metric
match route-type
route-map
match tag
set as-path
set community
set community
set ip next-hop
set level
show route-map
set local-preference
set metric
set metric-type
set origin
set tag
set weight


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: Routing_Pol.fm
    HTML File Name: Routing_Pol19.html
    Last Updated: 05/10/04 at 16:38:37

Please email suggestions and comments to: doc@avici.com