set tag

Syntax

set tag <value>

[no] set tag <value>

Description

Modifies the tag value of the route with the one configured in the set clause. Applicable to static routes that will be redistributed to ospfv2 and ospfv3 protocols.

The no form of this command removes the set clause tag value.

Command context

config-route-map

Parameters

value
Numeric value to change the route entry tag. Range: 0-4294967295. Required.

Authority

Administrators or local user group members with execution rights for this command.

Example

Configuring a set clause in route-map to modify the tag value of the route:

switch(config)# route-map GlobalMap permit 11
switch(config-route-map)# set tag 10