Modifying the redistribution metric type
Optional: The redistribution metric type is used by default for all routes imported into OSPF. Type 1 metrics are the same "units" as internal OSPF metrics and can be compared directly. Type 2 metrics are not directly comparable, and are treated as larger than the largest internal OSPF metric.
Syntax:
router ospf metric-type [type1 | type2]
Globally reconfigures the redistribution metric type on an ASBR.
type1
Specifies the OSPF metric plus the external metric for an external route.
type2
Specifies the external metric for an external route.
Default: type2
Example:
To change from the default setting on an ASBR to type 1, enter the following command:
switch(config)# router ospf metric-type type1