bandwidth (Interfaces)
Syntax
bandwidth rate;
Hierarchy Level
[edit interfaces interface-name unit logical-unit-number], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
Description
Configure the bandwidth value for an interface. This statement is valid for all logical interface types except multilink and aggregated interfaces.
We recommend that you be careful when setting this value.
Any interface bandwidth value that you configure using the bandwidth
statement affects how the interface cost is calculated for a dynamic
routing protocol, such as OSPF. By default, the interface cost for
a dynamic routing protocol is calculated using the following formula:
cost = reference-bandwidth/bandwidth,
where bandwidth is the physical interface speed. However, if
you specify a value for bandwidth using the bandwidth
statement,
that value is used to calculate the interface cost, rather than the
actual physical interface bandwidth.
Options
rate
—Peak
rate, in bits per second (bps) or cells per second (cps). You can
specify a value in bits per second either as a complete decimal number
or as a decimal number followed by the abbreviation k
(1000), m
(1,000,000), or g
(1,000,000,000). You
can also specify a value in cells per second by entering a decimal
number followed by the abbreviation c
; values expressed
in cells per second are converted to bits per second by means of the
formula 1 cps = 384 bps.
Range: Not limited.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.