Versions Compared

Key

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

...

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

...

set routing route-map <route-map-name> order <NUMBERaction localset-action local-preference <VALUE>

delete routing route-map <route-map-name> order <NUMBER> action localset-action local-preference <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.

local-preference <VALUE>

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


Example

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

...