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.


router ospf metric-type [type1 | type2]

Globally reconfigures the redistribution metric type on an ASBR.


Specifies the OSPF metric plus the external metric for an external route.


Specifies the external metric for an external route.

Default: type2


To change from the default setting on an ASBR to type 1, enter the following command:

switch(config)# router ospf metric-type type1