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


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


CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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 Can I Set the cost Value When OSPF Imports External Routes?

How Can I Set the cost Value When OSPF Imports External Routes?

When OSPF imports external routes, the cost of original routes is not used. By default, the cost of the external routes imported by OSPF is 1.

To change the default cost value of external routes imported by OSPF, run the default { cost { cost | inherit-metric } command. In the preceding command:
  • cost: specifies the cost of the imported external routes. The value is an integer ranging from 0 to 16777214.
  • inherit-metric: indicates that the cost of the imported external routes is the cost carried in the route.
Updated: 2019-12-27

Document ID: EDOC1000174069

Views: 199757

Downloads: 356

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next