PREV NEXT INDEX

Avici Systems Inc.


match route-type


Adds a matching clause to the route map based on the route type.

Syntax: [no] match route-type {local|internal|external [type-1 | type-2]| level-1 | level-2}

local

BGP routes generated by the local autonomous system.

internal

OSPF intra-area and inter-area routes.

external

Routes learned from BGP or OSPF external routes.

type 1|type 2

For external routes: external type-1 matches OSPF Type 1 external routes. external type 2 matches OSPF Type 2 external routes.

level-1|level-2

IS-IS Level 1 or IS-IS Level 2 routes.

Description: Use the match route-type command to create an entry in a route map to test routes based on whether the route's type matches the specified type.

Use the no match route-type command to delete the route-type entry.

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.

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.

Factory Default: No matching based on route type.

Command Mode: Route map configuration.

Example: In the following example:

router(config)#route-map ospfroutes permit 10

router(config-route-map)#match route-type internal

OSPF routes with a route type of internal are processed according to any set commands in the route map. Routes whose route type is not OSPF internal are ignored.

Related Commands: route-map
match as-path
match community
match ip address
match ip next-hop
match ip route-source
match metric
show route-map
match tag
set as-path
set community
set community
set ip next-hop
set level
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_Pol25.html
    Last Updated: 05/10/04 at 16:38:37

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