Modifying the default metric for redistribution
Optional: The default metric is a global parameter that specifies the cost applied to all OSPF routes by default.
Syntax:
router ospf default-metric 0-16777215
Globally assigns the cost metric to apply to all external routes redistributed by the ASBR. By using different cost metrics for different ASBRs, you can prioritize the ASBRs in your AS.
Default: 10
Example:
To assign a default metric of 4 to all routes imported into OSPF on an ASBR, enter the following commands:
switch()# switch(config)# router ospf default-metric 4