Set Metric-Type - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

set metric-type

set metric-type
To set the metric type for the destination routing protocol, use the set metric-type command. To return
to the default, use the no form of this command.
Syntax Description
internal
type-1
type-2
Command Default
This command is disabled by default.
Command Modes
Route-map configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
Use the route-map global configuration command with match and set route-map configuration
commands to define the conditions for redistributing routes from one routing protocol into another. Each
route-map command has a list of match and set commands associated with it. The match commands
specify the match criteria—the conditions under which redistribution is allowed for the current
route-map command. The set commands specify the set actions—the particular redistribution 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 the match criteria of a route map are met. When all match criteria are met, all set actions are
performed.
This command is not supported for redistributing routes into Border Gateway Protocol (BGP).
Note
This command requires the LAN Enterprise Services license.
Examples
This example shows how to set the metric type of the destination protocol to OSPF external Type 1:
switch# configure terminal
switch(config)# route-map map-type
switch(config-route-map)# set metric-type type-1
switch(config-route-map)#
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
346
set metric-type {internal | type-1 | type-2}
no set metric-type {internal | type-1 | type-2}
Specifies the Interior Gateway Protocol (IGP) metric as the multi-exit
discriminator (MED) for BGP.
Specifies the Open Shortest Path First (OSPF) external Type 1 metric.
Specifies the OSPF external Type 2 metric.
Modification
This command was introduced.
Chapter
Unicast Routing Commands
OL-27852-01

Advertisement

Table of Contents
loading

Table of Contents