Got it

How to design the OSPF cost?

Latest reply: Jan 10, 2019 09:16:35 2280 4 12 0 0


The OSPF link cost uses to control the route routing, we can set it manually or automatically calculate.

The OSPF automatically calculates this cost according to the interface bandwidth. OSPF uses the formula: Cost of the interface = Bandwidth reference value/Interface bandwidth. The integer of the calculated result is the cost of the interface. If the calculated result is smaller than 1, the cost value is 1. Changing the bandwidth reference value can change the cost of an interface.

We can design the OSPF cost refers to the bandwidth. If the network has a link that is 100G, we can set the reference value as 10000M.



  • x
  • convention:

Created Dec 4, 2018 14:12:39

well written
View more
  • x
  • convention:

Created Dec 27, 2018 12:55:18

So it will take the reference value into account if the cost is the same?
View more
  • x
  • convention:

Created Jan 10, 2019 08:33:00

Thanks for sharing , let me add the following :

The cost can be changed in two ways :
1- Configure the cost under interface configuration mode .
2- change the default reference value of OSPF , it is suggested that all routers in the AS should be configured with the same reference BW in order to ensure consistency in route selection
View more
  • x
  • convention:

Created Jan 10, 2019 09:16:35

Thanks for sharing this information
View more
  • x
  • convention:


You need to log in to comment 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 " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.