The Redistribution Set Clause

The redistribution set clause determines the OSPF route tag, metric cost, along with the ability to increment or decrement the current metric cost, and metric type for this route if a match clause for this route-map entry is successful.

Use the set tag command in redistribution route-map configuration command mode to specify the OSPF route to be used for redistributing non-OSPF routes that match for this route-map.

Use the set metric command in redistribution route-map configuration command mode to specify the metric cost of routes that match for this route-map. Use the set metric increment command to increase the current metric cost or set metric decrement command to decrement the current metric cost of routes that match for this route-map.

OSPF route tag is a 32-bit numeric value that is attached to redistributed routes into OSPF. The route tag is not used by OSPF, but can be used by other routers for making policy decisions. OSPF route tags are displayed in the show ip ospf database external command. See the S-, K-, and 7100 Series CLI Reference Guide for command details.