reference-bandwidth (Protocols OSPF)
Syntax
reference-bandwidth reference-bandwidth;
Hierarchy Level
[edit logical-systems logical-system-name protocols (ospf | ospf3)], [edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols (ospf | ospf3)], [edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)], [edit protocols (ospf | ospf3)], [edit protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)], [edit routing-instances routing-instance-name protocols (ospf | ospf3)], [edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)]
Description
Set the reference bandwidth used in calculating the default interface cost. The cost is calculated using the following formula:
cost = ref-bandwidth/bandwidth
Options
reference-bandwidth—Reference bandwidth, in bits per second.
Range: 9600 through 4,000,000,000,000 bits
Default: 100 Mbps (100,000,000 bits)
The default behavior is to use the reference-bandwidth
value to calculate the cost of OSPF interfaces. You can override this
behavior for any OSPF interface by configuring a specific cost with
the metric
statement.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Support for the realm
statement introduced in Junos
OS Release 9.2.
Support for the realm
statement introduced in Junos
OS Release 9.2 for EX Series switches.