Route Map Commands
©2008 Allied Telesis Inc. All rights reserved.
32.26
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
set metric-type
Use this command to add a metric-type set clause to a route map entry.
When a route matches the route map entry, the device sets its route type to the specified
value.
Use the
no
parameter to remove the set clause.
Syntax
set metric-type
{
type-1
|
type-2
}
set metric-type
{
internal
|
external
}
no set metric-type
no set metric-type
{
internal
|
external
}
Mode
Route-map mode
Usage
Note:
The
set metric-type internal|external
command is valid for IS-IS only.
This command is valid for OSPF routes only.
Examples
To use entry 3 of the route map called “rmap1” to redistribute matching routes into OSPF as
type-1 external routes, use the commands:
awplus(config)#route-map rmap1 permit 3
awplus(config-route-map)#set metric-type 1
Related Commands
default-information originate
redistribute
match route-type
route-map
show route-map
Parameter
Description
type-1
Redistribute matching routes into OSPF as type-1
external routes.
type-2
Redistribute matching routes into OSPF as type-2
external routes.
internal
Select to set internal IS-IS type metric.
external
Select to set external IS-IS type metric.