Supported Platforms
Related Documentation
- ACX, M, MX, PTX, T Series, QFabric System, QFX Series standalone switches
- Example: Dynamically Adjusting OSPF Interface Metrics Based on Bandwidth
- ACX, EX, M, MX, PTX, SRX, T Series
- metric
bandwidth-based-metrics
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 9.5.
Statement introduced in Junos OS Release 9.5 for EX Series switches.
Statement introduced in Junos OS Release 12.3 for the QFX Series.
Description
Specify a set of bandwidth threshold values and associated metric values for an OSPF interface or for a topology on an OSPF interface. When the bandwidth of an interface changes, Junos OS automatically sets the interface metric to the value associated with the appropriate bandwidth threshold value.
Options
bandwidth value—Specify the bandwidth threshold in bits per second.
Range: 9600 through 1,000,000,000,000,000
metric number—Specify a metric value to associate with a specific bandwidth value.
Range: 1 through 65,535
![]() | Note: You must also configure a static metric value for the OSPF interface or topology with the metric statement. Junos OS uses this value to calculate the cost of a route from the OSPF interface or topology if the bandwidth for the interface is higher than of any bandwidth threshold values configured for bandwidth-based metrics. |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Documentation
- ACX, M, MX, PTX, T Series, QFabric System, QFX Series standalone switches
- Example: Dynamically Adjusting OSPF Interface Metrics Based on Bandwidth
- ACX, EX, M, MX, PTX, SRX, T Series
- metric
Published: 2014-05-08
Supported Platforms
Related Documentation
- ACX, M, MX, PTX, T Series, QFabric System, QFX Series standalone switches
- Example: Dynamically Adjusting OSPF Interface Metrics Based on Bandwidth
- ACX, EX, M, MX, PTX, SRX, T Series
- metric