Got it

Modify the cost of the ospf route

Created: Aug 7, 2020 14:49:47Latest reply: Aug 7, 2020 17:22:51 155 9 0 0
  Rewarded HiCoins: 0 (problem resolved)
I am having difficulty manipulating the cost of routes even though we have set the bandwidth of the ports and devices individually, any advice?
  • x
  • convention:

Featured Answers

Best answer

Recommended answer

chenhui
Admin Created Aug 7, 2020 14:59:25 Helpful(1) Helpful(1)

Hi karladu, 

Kindly noted that the OSPF cost calculation based on the inward directional. 

For example, in the figure below, when R2 advertise the routes to the R4, R4 will calculate the route cost base on the inward directional of R4 interface G0/0/0. 

Suppose that R2 advertise the route to R4 with cost 1, and set the R2 G0/0/0 OSPF cost to 10, R4 G0/0/0 OSPF cost to 20, then the cost of the route on R4 would be 21.

ospf cost

If you have any other questions, kindly let us know. 

BTW, it's better that you could give an example, so that we could understand your situation clearly.

View more
  • x
  • convention:

lucian2003 Created Aug 7, 2020 21:23:05
Thanks to share for all  
All Answers
olive.zhao
olive.zhao Admin Created Aug 7, 2020 14:50:29 Helpful(0) Helpful(0)

Hello, dear!
It's nice to meet you in the community.
We're working on your problem. Please be patient.
View more
  • x
  • convention:

Smile%20turned%2C%20with%20the%20back%20to%20let%20the%20story%20end
Chenxintao
Chenxintao Admin Created Aug 7, 2020 14:51:51 Helpful(0) Helpful(0)

Dear friend!
Can you give me the model of the router?
Thanks!
View more
  • x
  • convention:

victorDa
victorDa Created Aug 7, 2020 14:54:06 Helpful(1) Helpful(1)

Please make sure you have configured the correct parameter; Or you can adjust the OSPF cost using the ospf cost command in the interface view. This could adjust the OSPF cost directly.


Best regards.


View more
  • x
  • convention:

chenhui
chenhui Admin Created Aug 7, 2020 14:59:25 Helpful(1) Helpful(1)

Hi karladu, 

Kindly noted that the OSPF cost calculation based on the inward directional. 

For example, in the figure below, when R2 advertise the routes to the R4, R4 will calculate the route cost base on the inward directional of R4 interface G0/0/0. 

Suppose that R2 advertise the route to R4 with cost 1, and set the R2 G0/0/0 OSPF cost to 10, R4 G0/0/0 OSPF cost to 20, then the cost of the route on R4 would be 21.

ospf cost

If you have any other questions, kindly let us know. 

BTW, it's better that you could give an example, so that we could understand your situation clearly.

View more
  • x
  • convention:

lucian2003 Created Aug 7, 2020 21:23:05
Thanks to share for all  
shakeela
shakeela Created Aug 7, 2020 17:19:14 Helpful(1) Helpful(1)

good
View more
  • x
  • convention:

shakeela
shakeela Created Aug 7, 2020 17:19:22 Helpful(0) Helpful(0)

nice
View more
  • x
  • convention:

azkasaqib
azkasaqib Created Aug 7, 2020 17:22:42 Helpful(1) Helpful(1)

good
View more
  • x
  • convention:

azkasaqib
azkasaqib Created Aug 7, 2020 17:22:51 Helpful(0) Helpful(0)

nice
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice 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!

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.