![Cisco Nexus 3548 series Скачать руководство пользователя страница 366](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162366.webp)
346
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
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.
set metric-type
{
internal
|
type-1
|
type-2
}
no set metric-type
{
internal
|
type-1
|
type-2
}
Syntax Description
Command Default
This command is disabled by default.
Command Modes
Route-map configuration mode
Command History
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.
Note
This command is not supported for redistributing routes into Border Gateway Protocol (BGP).
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)#
internal
Specifies the Interior Gateway Protocol (IGP) metric as the multi-exit
discriminator (MED) for BGP.
type-1
Specifies the Open Shortest Path First (OSPF) external Type 1 metric.
type-2
Specifies the OSPF external Type 2 metric.
Release
Modification
5.0(3)A1(1)
This command was introduced.
Содержание Nexus 3548 series
Страница 14: ...Contents xiv Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 16: ...xvi Cisco Nexus 3548 NX OS Unicast Routing Command Reference OL 27852 01 Chapter New and Changed Information ...
Страница 20: ...xx Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 426: ...406 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands vrrp ...