policy route route-map <map-name> rule <rule-num> set tag <tag>
Modifies the OSPF tag value of a route.
- map-name
- The name of a defined route map.
- rule-num
- The number of a defined route map rule.
- tag
- A 32-bit number representing the new value of the OSPF external Link-State Advertisement (LSA) tag field.
Configuration mode
policy {
route-map map-name {
rule rule-num {
set {
tag tag
}
}
}
}
Use the set form of this command to set the OSPF tag value for packets that traverse a route map. When all the match conditions in the route map rule succeed, the route tag is modified as specified.
Use the delete form of this command to delete this statement from the route map rule.
Use the show form of this command to display set statement configuration for route maps.