Technical Documentation

bandwidth-based-metrics

Syntax

bandwidth-based-metrics {bandwidth value;metric number;}

Hierarchy Level

[edit logical-systems logical-system-name protocols (ospf | ospf3) area area-id interface interface-name],[edit logical-systems logical-system-name protocols ospf area area-id interface interface-name topology topology-name],[edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols (ospf | ospf3) area area-id interface interface-name],[edit logical-systems logical-system-name protocols ospf area area-id interface interface-name topology topology-name],[edit logical-systems logical-system-name routing-instances routing-instances protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name],[edit protocols (ospf | ospf3) area area-id interface interface-name],[edit protocols ospf area area-id interface interface-name topology topology-name],[edit protocols ospf3 realm (ivp4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name],[edit routing-instances routing-instance-name protocols (ospf | ospf3) area area-id interface interface-name],[edit routing-instances routing-instance-name protocols ospf area area-id interface interface-name topology topology-name],[edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name]

Release Information

Statement introduced in JUNOS Release 9.5.

Statement introduced in JUNOS Release 9.5 for EX Series switches.

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, the JUNOS Software 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. The JUNOS Software 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.


Published: 2010-04-14