Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The set routing route-map action metric map set-action metric command modifies the metric attribute of the route entry with the value configured in the set the action clause.
The delete routing route-map action metric map set-action metric command restores the default behavior of not modifying the metric attribute of the route entry.

...

set routing route-map <route-map-name> order <NUMBERaction metric set-action metric <VALUE>

delete routing route-map <route-map-name> order <NUMBER> action metric set-action metric <VALUE>


Parameter

Parameter

Description

route-map <route-map-name>

Specifies the name of the route map. Required.

order <NUMBER>

Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535.

metric <VALUE>

Specifies the value to be set as the metric attribute of the route entry. Range: 0 to 4294967295.


Example

  •  Configure a set action clause in the route map to modify the metric value of the route:
Code Block
admin@Xorplus# set routing route-map GlobalMap order 10 set-action local-preferencemetric 100
admin@Xorplus# commit

...