Managed Switch CLI Manual, Release 8.0.3
Routing Commands
4-50
v1.0, July 2010
Use the
auto-cost
command to change the reference bandwidth, specifying the reference
bandwidth in megabits per second (Mbps). The reference bandwidth range is 1-4294967 Mbps.
The different reference bandwidth can be independently configured for OSPFv2 and OSPFv3.
no auto-cost reference-bandwidth (OSPF)
Use this command to set the reference bandwidth to the default value.
bandwidth
By default, OSPF computes the link cost of an interface as the ratio of the reference bandwidth to
the interface bandwidth. Reference bandwidth is specified with the
auto-cost
command. For
the purpose of the OSPF link cost calculation, use the bandwidth command to specify the interface
bandwidth. The bandwidth is specified in kilobits per second. If no bandwidth is configured, the
bandwidth defaults to the actual interface bandwidth for port-based routing interfaces and to 10
Mbps for VLAN routing interfaces. This command does not affect the actual speed of an interface.
no bandwidth
Use this command to set the interface bandwidth to its default value.
Default
100Mbps
Format
auto-cost reference-bandwidth <
1 to 4294967
>
Mode
Router OSPF Config
Format
no auto-cost reference-bandwidth
Mode
Router OSPF Config
Default
actual interface bandwidth
Format
bandwidth
<
1-10000000
>
Mode
Interface Config
Format
no bandwidth
Mode
Interface Config