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

Publication Date:  2015-05-05 Views:  155 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