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>

Reminder

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

upgrade

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

Publication Date:  2015-05-05 Views:  355 Downloads:  0
Issue Description
How Can I Set the cost Value When OSPF Imports External Routes?
Solution
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.

END