Route Map Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
32.11
match route-type
Use this command to add an external route-type match clause to a route map entry. Specify
whether to match OSPF type-1 external routes or OSPF type-2 external routes.
An OSPF route matches the route map if its route type matches the route map’s route type.
Each entry of a route map can only match against one route type in one match clause. If the
route map entry already has a route type match clause, entering this command replaces that
match clause with the new clause.
Note that this clause only determines whether the route map checks OSPF routes for the given
route type value. The route map action and its
set
clauses determine what the route map does
with routes of that type.
Use the
no
parameter to remove the route type match clause from the route map entry.
Syntax
match route-type external
{
type-1
|
type-2
}
no match route-type external
Mode
Route-map mode
Usage
This command is valid for OSPF routes only.
Examples
To add entry 10 to the route map called “mymap1”, which will process type-1 external routes,
use the commands:
awplus(config)#route-map mymap1 permit 10
awplus(config-route-map)#match route-type external type-1
Related Commands
match interface
match ip address
match ip next-hop
match tag
route-map
set metric-type
show route-map
Parameter
Description
type-1
OSPF type-1 external routes
type-2
OSPF type-2 external routes