OcNOS-RON-6.3.1 : Layer 3 Guide : Fundamental Layer 3 Command Reference : Route-Map Commands : set tag
set tag
Use this command to set a tag value. The parameter is the route tag that is labeled by another routing protocol (BGP or other IGP when redistributing), because AS-external-LSA has a route-tag field in its LSAs. In addition, when using route-map, OcNOS can tag the LSAs with the appropriate tag value. Sometimes the tag matches with using route-map, and sometimes, the value may be used by another application.
Use the no parameter with this command to unset a tag value.
Command Syntax
set tag <0-4294967295>
no set tag (<0-4294967295>|)
Parameter
<0-4294967295>
Tag value for destination routing protocol.
Default
No default value is specified
Command Mode
Route-map mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
In the following example the tag value of the destination routing protocol is set to 6:
#configure terminal
(config)#route-map rmap1 permit 3
(config-route-map)#set tag 6
Last modified date: 07-13-2023