OcNOS-SP : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv3 Commands : default-metric
default-metric
Use this command to set a default metric for OSPF.
A default metric facilitates redistributing routes with incompatible metrics. If the metrics do not convert, the default metric provides an alternative. Use this command to use the same metric value for all redistributed routes. Use this command in conjunction with the redistribute command.
Use the no parameter with this command to return to the default state.
Command Syntax
default-metric <1-16777214>
no default-metric
Parameter
<1-16777214>
Default metric value.
Default
Default metric for redistributed routes will be 20.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ipv6 ospf
(config-router)#default-metric 100
Last modified date: 10/16/2023