set metric-type
Use this command to set the metric type for the destination routing protocol. Select a type to be either Type-1 or Type-2 in the AS-external-LSA when the route-map matches the condition.
Note: This command is for OSPF, OSPFv3, or IS-IS only.
Use the no parameter with this command to return to the default.
Command Syntax
set metric-type (internal|external)
set metric-type (type-1|type-2)
no set metric-type (internal|external|)
no set metric-type (type-1|type-2|)
Parameters
external
IS-IS external metric type.
internal
IS-IS internal metric type.
type-1
OSPF external type 1 metric.
type-2
OSPF external type 2 metric
Default
No default value is specified
Command Mode
Route-map mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
In this example the metric type of the destination protocol is set to OSPF external Type 1.
#configure terminal
(config)#route-map rmap1 permit 3
(config-route-map)#set metric-type type-1
Last modified date: 10/16/2023