default-metric (OSPF)
Sets the default metric value for the OSPFv2 or OSPFv3 routing protocol.
Parameters
Modes
OSPF router configuration mode
OSPFv3 router configuration mode
OSPF router VRF configuration mode
OSPFv3 router VRF configuration mode
Usage Guidelines
This command overwrites any incompatible metrics that may exist when OSPFv2 or OSPFv3 redistributes routes. Therefore, setting the default metric ensures that neighbors will use correct cost and router computation.
History