How Is the Cost of an OSPF Interface Calculated?

Latest reply: Sep 18, 2015 15:12:26 1196 2 0 0

How Is the Cost of an OSPF Interface Calculated?

The principles of calculating the cost of an OSPF interface are as follows: The cost configured on the interface is preferred. If no cost is configured on the interface, the formula for calculating the cost of the interface is as follows: Cost = Reference bandwidth/Interface bandwidth. The default reference bandwidth of OSPF is 100 Mbit/s.

For example, the cost of a 10 Mbit/s Ethernet interface = 100 Mbits per second/10 Mbits per second = 10. If the calculation result is smaller than 1, the cost is set to 1. For example, the cost of a GE interface is 100 Mbits per second/1000 Mbits per second = 0.1, which is less than 1. Therefore, the cost of this interface is 1.

The default cost on the loopback interface, which is a virtual interface, is 0.

  • x
  • convention:

h00222394 Created Sep 18, 2015 14:08:16 Helpful(0) Helpful(0)

If there are many verder in the network, we suggest you adjust to the same value. Because different vender have the different default value.
  • x
  • convention:

MagicKnight Created Sep 18, 2015 15:12:26 Helpful(0) Helpful(0)

If we could get the command that how to change the default cost computing method, may be better.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top