home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

protocols ospf default-metric <metric>

Sets default metric to be applied to routes being redistributed into OSPF.

set protocols ospf [ process pid ] default-metric metric
delete protocols ospf [ process pid ] default-metric metric
show protocols ospf[ process pid ] default-metric
process pid
Specifies the PID of an IPv4 OSPF process.
metric
The metric to apply to routes from other protocols that are redistributed into OSPF. The metric ranges from 1 through 16777214.

Configuration mode

protocols {
       ospf {
               process pid {
                      default-metric metric
               }
       }
}

Use this command to set the default metric to apply to routes from other protocols that are redistributed into OSPF.

Use the set form of this command to set the default OSPF metric.

Use the delete form of this command to restore the default value for default metric.

Use the show form of this command to display the default OSPF metric.