Intermediate System-to-Intermediate System (IS-IS) internal
metric, or IGP metric as the MED for BGP.

external

IS-IS external metric.

type-1

Open Shortest Path First (OSPF) external Type 1 metric.

type-2

OSPF external Type 2 metric.

Command
Description:

To set the metric type for the destination
routing protocol, use the set metric-type command in
route-map configuration mode. To return to the default, use the
no form of this command.

This command is disabled by default.

Use the route-map (IP) global
configuration command with the match and set
route-map configuration commands to define the conditions for
redistributing routes from one routing protocol into another, or
for policy routing. Each route-map command has an associated
list of match and set commands. The match
commands specify the match criteria--the conditions under
which redistribution or policy routing is allowed for the current
route-map command. The set commands specify the
set actions--the particular redistribution or policy routing
actions to perform if the criteria enforced by the match
commands are met. The no route-map command deletes the route
map.

The set route-map configuration
commands specify the redistribution set actions to be performed
when all of the match criteria of a route map are met.

Example:

The following example sets the metric type of
the destination protocol to OSPF external Type 1: