C613-50170-01 Rev B
Command Reference for x510 Series
1179
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
R
OUTE
M
AP
C
OMMANDS
MATCH
ROUTE
-
TYPE
match route-type
Overview
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.
Use the
no
variant of this command 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 [type-1|type-2]
Mode
Route-map Configuration
Usage
Use the
match route-type external
command to match specific external route
types. AS- external LSA is either Type-1 or Type-2.
external type-1
matches only
Type 1 external routes, and
external type-2
matches only Type 2 external routes.
This command is valid for OSPF routes only.
Example
To add entry
10
to the route map called
mymap1
, which will process type-1
external routes, use the commands:
awplus#
configure terminal
awplus(config)#
route-map mymap1 permit 10
awplus(config-route-map)#
match route-type external type-1
Related
Commands
Parameter
Description
type-1
OSPF type-1 external routes.
type-2
OSPF type-2 external routes.