![Cisco Nexus 3548 series Command Reference Manual Download Page 371](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162371.webp)
351
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
set tag
set tag
To set a tag value of the destination routing protocol, use the
set tag
command. To delete the entry, use
the
no
form of this command.
set tag
tag-value
no set tag
tag-value
Syntax Description
Command Default
If not specified, the default action is to
forward
the tag in the source routing protocol onto the new
destination protocol.
Command Modes
Route-map configuration mode
Command History
Usage Guidelines
Use the
route-map
global configuration command and the
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 requires the LAN Enterprise Services license.
Examples
This example shows how to set the tag value of the destination routing protocol to 5:
switch#
configure terminal
switch(config)#
route-map test
switch(config-route-map)#
set tag 5
switch(config-route-map)#
tag-value
Name for the tag. The value is an integer from 0 to 4294967295.
Release
Modification
5.0(3)A1(1)
This command was introduced.