C613-50170-01 Rev B
Command Reference for x510 Series
1186
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
R
OUTE
M
AP
C
OMMANDS
SET
METRIC
-
TYPE
set metric-type
Overview
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
variant of this command to remove the set clause.
Syntax
set metric-type {type-1|type-2}
no set metric-type [type-1|type-2]
Mode
Route-map Configuration
Usage
This command is valid for OSPF routes only.
Example
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#
configure terminal
awplus(config)#
route-map rmap1 permit 3
awplus(config-route-map)#
set metric-type 1
Related
Commands
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.