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：

Favorite(0) Share

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.

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.

• x
• convention：

lucian2003 Created Aug 7, 2020 21:23:05
Thanks to share for all
 olive.zhao Admin Created Aug 7, 2020 14:50:29 Helpful(0) Helpful(0) .pcb table{table-layout:auto;} div#jdc_suspicious_threads{ background: #fcf5d8; text-align: center; font-size: 12px; } 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 Admin Created Aug 7, 2020 14:51:51 Helpful(0) Helpful(0) .pcb table{table-layout:auto;} div#jdc_suspicious_threads{ background: #fcf5d8; text-align: center; font-size: 12px; } Dear friend!Can you give me the model of the router? Thanks! View more x convention：
 victorDa Created Aug 7, 2020 14:54:06 Helpful(1) Helpful(1) .pcb table{table-layout:auto;} div#jdc_suspicious_threads{ background: #fcf5d8; text-align: center; font-size: 12px; } 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 Admin Created Aug 7, 2020 14:59:25 Helpful(1) Helpful(1) .pcb table{table-layout:auto;} div#jdc_suspicious_threads{ background: #fcf5d8; text-align: center; font-size: 12px; } 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.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   x
 shakeela Created Aug 7, 2020 17:19:14 Helpful(1) Helpful(1) .pcb table{table-layout:auto;} div#jdc_suspicious_threads{ background: #fcf5d8; text-align: center; font-size: 12px; } good View more x convention：
 shakeela Created Aug 7, 2020 17:19:22 Helpful(0) Helpful(0) .pcb table{table-layout:auto;} div#jdc_suspicious_threads{ background: #fcf5d8; text-align: center; font-size: 12px; } nice View more x convention：
 azkasaqib Created Aug 7, 2020 17:22:42 Helpful(1) Helpful(1) .pcb table{table-layout:auto;} div#jdc_suspicious_threads{ background: #fcf5d8; text-align: center; font-size: 12px; } good View more x convention：
 azkasaqib Created Aug 7, 2020 17:22:51 Helpful(0) Helpful(0) .pcb table{table-layout:auto;} div#jdc_suspicious_threads{ background: #fcf5d8; text-align: center; font-size: 12px; } nice View more x convention：

Comment

 You need to log in to comment to the post Login | Register Comment
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

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.