metric
Syntax
Hierarchy Level
[edit protocols (ospf | ospf3) areaarea-idinterfaceinterface-name],
[edit routing-instancesrouting-instance-nameprotocols ospf areaarea-id
interfaceinterface-name]Description
Cost of an OSPF interface. The cost is a routing metric that is used in the link-state calculation.
To set the cost of routes exported into OSPF, configure the appropriate routing policy.
Options
metric—Cost of the route.
Range: 1 through 65,535
Default: 1Usage Guidelines
See Modify the Interface Metric.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.