DELL PC6224F User Manual

Page of 1356
870
OSPF Commands
console(config-router)#area 10 virtual-link 
192.168.2.2 transmit-delay 40
auto-cost
By default, OSPF computes the link cost of each interface from the interface 
bandwidth. The link cost is computed as the ratio of a “reference bandwidth” 
to the interface bandwidth (ref_bw / interface bandwidth), where interface 
bandwidth is defined by the “bandwidth” command. Because the default 
reference bandwidth is 100 Mbps, OSPF uses the same default link cost for all 
interfaces whose bandwidth is 100 Mbps or greater. To change the reference 
bandwidth, use the auto-cost command, specifying the reference bandwidth 
in megabits per second. The different reference bandwidth can be 
independently configured for OSPFv2 and OSPFv3.
Syntax
auto-cost reference-bandwidth 
ref_bw
ref_bw — The reference bandwidth in Mbps (Range: 1–4294967).
Default Configuration
The default reference bandwidth is 100 Mbps.
Command Mode
OSPFv2 or OSPFv3 Router Configuration mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example configures a reference bandwidth of 500 Mbps.
console(config-router)#auto-cost reference-bandwidth 500