[Contents] [Prev] [Next] [Index] [Report an Error]


metric

Syntax

metric metric ;

Hierarchy Level

[edit protocols (ospf | ospf3) area area-id interface interface-name ],
[edit routing-instances
routing-instance-name protocols ospf area area-id
    
interface interface-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: 1

Usage 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.


[Contents] [Prev] [Next] [Index] [Report an Error]