No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR Router Troubleshooting Guide

This Product Documentation provides guidance for maintaining AR Enterprise Router, covering common information collection and fault diagnostic commands, typical fault troubleshooting guide, and troubleshooting.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How to Change the OSPF Cost Value

How to Change the OSPF Cost Value

Procedure

  • Directly change the OSPF cost value.

    <Huawei> system-view
    [Huawei] interface gigabitethernet 1/0/0
    [Huawei-GigabitEthernet1/0/0] ospf cost 65
  • Indirectly change the OSPF cost value.

    <Huawei> system-view
    [Huawei] ospf 100
    [Huawei-ospf-100] bandwidth-reference 1000

More Information

Two methods are available to change the OSPF cost. One method is to run the ospf cost command to directly change the interface cost, and the other is to change the bandwidth reference value to indirectly change the interface cost. In the second method, OSPF automatically calculates the cost according to the interface bandwidth using the following formula: Interface cost = Bandwidth reference value/Interface bandwidth. The cost is the integer portion of the calculation result. If the calculation result is less than 1, the cost is 1.

Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000079719

Views: 490209

Downloads: 4514

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next