protocols ospf default-metric <metric>
Sets default metric to be applied to routes being redistributed into OSPF.
- 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.