IP Commands
page 29-44 OmniSwitch 6250 CLI Reference Guide November 2009
ip route-map set metric
Configures the metric value of the route being distributed.
ip route-map route-map-name [sequence-number number] set metric metric
[effect {add | subtract | replace | none}]
no ip route-map route-map-name [sequence-number number] set metric metric
[effect {add | subtract | replace | none}]
Syntax Definitions
route-map-name The name of the route map (up to 20 characters).
number A number that links together the route maps. The range is 1–100.
metric Configures the metric value of the route being distributed. A value of 0
is not allowed.
add Adds the configured metric value to the actual metric value.
subtract Subtracts the configured metric value from the actual metric value.
replace Replaces the actual metric value with the configured metric value.
none Redistributes the actual metric value. The configured metric value is
ignored. Use any value except 0.
Defaults
Platforms Supported
OmniSwitch 6250
Usage Guidelines
• Use the no form of this command to delete the set metric parameter in the route map.
• All route maps having the same name but different sequence numbers are linked together and
processed in order of increasing sequence number.
• The route-map-name and sequence-number should exist before you configure this set criteria.
Examples
-> ip route-map 111 sequence-number 50 set metric 30 effect add
-> no ip route-map 111 sequence-number 50 set metric 30 effect add
Release History
Release 6.6.1; command was introduced.
parameter default
number 50