PHPKB Knowledge Base Software Logo  
Guru Corner
Online Knowledgebase System  
Knowledge Base Home Knowledge Base Home
Home > All Categories > Cisco Systems > Routing > OSPF > What is OSPF Metric value Cost and OSPF default Cost Reference Bandwidth
Question Title What is OSPF Metric value Cost and OSPF default Cost Reference Bandwidth

Open Shortest Path First (OSPF) uses "Cost" as the value of metric and uses a Reference Bandwidth of 100 Mbps for cost calculation.

The formula to calculate the cost is Reference Bandwidth divided by interface bandwidth. For example, in the case of 10 Mbps Ethernet , OSPF Metric Cost value is 100 Mbps / 10 Mbps = 10.

The default Reference Bandwidth of OSPF is 100 Mbps and the default OSPF cost formula doesn’t differentiate between interfaces with bandwidth faster than 100 Mbps. These days, 1 Gbps and 10 Gbps links are also common.

The according to the default OSPF metric Cost value calculation, the default OSPF Cost for Fast Ethernet interface (100 Mbps) and a Gigabit Ethernet interface (1 Gbps) are same.

If you want to change the default behavior, the cost formula can be adjusted using the "auto-cost" command under the OSPF routing process. If you are changing the default OSPF Reference Bandwidth, make sure that you have changed the OSPF Reference Bandwidth in all your OSPF Routers.

Following table lists OSPF default Cost values for different interface bandwidths.

Bandwidth OSPF Cost
100 Gbps 1
40 Gbps 1
10 Gbps 1
1 Gbps 1
100 Mbps 1
10 Mbps 10
1.544 Mbps 64
768 Kbps 133
384 Kbps 266
128 Kbps 781
Authored by: Guru Corner
Click Here to View all the questions in OSPF category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
Article Information Additional Information
Article Number: 325
Created: 2015-07-19 8:39 PM
Rating: No Rating
 
Article Options Article Options
Print Question Print this Question
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
 
Search Knowledge Base Search Knowledge Base
 
 

Powered by Guru Corner