OSPF Cost
Also: reference bandwidthauto-cost reference-bandwidthip ospf cost
OSPF cost = reference bandwidth / interface bandwidth, with a default reference of 100 Mbps, so FastEthernet, Gigabit and 10-Gigabit links all get cost 1 unless the reference is raised with 'auto-cost reference-bandwidth'. A route's cost is the sum of outgoing interface costs, and 'ip ospf cost' sets an interface cost directly.
NetworkChuck0
Not taught as a topic in NetworkChuck Free CCNA. Mentioned fewer than twice, if at all.
Jeremy's IT Lab2
- Day 27 OSPF Part 2
OSPF CostOSPF's metric: reference bandwidth (100 Mbps by default) divided by interface bandwidth, with results below 1 rounded to 1. The route cost is the sum of the outgoing interfaces' costs; change it with auto-cost reference-bandwidth, ip ospf cost, or (not recommended) bandwidth.
4:49Well, you should configure a reference bandwidth greater than the fastest links in your network to allow for future upgrades. The 100 (*100,000) megabits per second I configured as the reference bandwidth is equal to a 1…
Said 45× - Day 27 Lab Configuring OSPF (2)
OSPF CostCost = reference bandwidth / interface bandwidth; with auto-cost reference-bandwidth 10000, FastEthernet costs 100 and GigabitEthernet 10, and anything 10 Gbps or faster costs 1.
6:57…a fastethernet interface has a bandwidth of 100 megabits per second by default. The formula for OSPF cost is reference bandwidth divided by interface bandwidth equals cost.
Said 11×
Related terms
Flashcards that test it
Jeremy's IT LabWhat is the default OSPF reference bandwidth and how is interface cost calculated?
100 Mbps; cost = reference bandwidth / interface bandwidth, with values below 1 rounded up to 1.
Jeremy's IT LabWith default settings, which interfaces have the same OSPF cost: Ethernet, FastEthernet, GigabitEthernet, 10GigE?
FastEthernet, GigabitEthernet and 10GigE all cost 1; 10 Mbps Ethernet costs 10.
Jeremy's IT LabAfter auto-cost reference-bandwidth 100000, what are the costs of FastEthernet and GigabitEthernet?
FastEthernet 1000, GigabitEthernet 100.
Jeremy's IT LabWhich reference bandwidth gives a FastEthernet interface an OSPF cost of 100?
auto-cost reference-bandwidth 10000 (10000 / 100 = 100).
Jeremy's IT LabWhat units do auto-cost reference-bandwidth and the interface bandwidth command use?
Reference bandwidth: Mbps. Interface bandwidth: kbps.
Jeremy's IT LabDoes 'bandwidth 100000' on a GigabitEthernet interface change its operating speed?
No. It only changes the value used in calculations like OSPF cost; use the speed command to change the real speed.
Jeremy's IT LabWith auto-cost reference-bandwidth 10000, what OSPF cost does a 10 Gbps (or faster) interface get?
1 (10000 / 10000 = 1; anything faster is also rounded to 1).