Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »


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

Command Syntax

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

delete routing route-map <route-map-name> <NUMBER> action local-preference <VALUE>


Parameter

Parameter

Description

route-map <route-map-name>

Specifies the name of the route map. Required.

<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 action clause in the route map to modify the local-preference value of the route:
admin@Xorplus# set routing route-map GlobalMap 10 action local-preference 100
admin@Xorplus# commit
  • No labels