set local-preference
Syntax
set local-preference <VALUE>
no set local-preference <VALUE>
Description
Modifies the local-preference attribute of the route entry with the value configured in the set clause.
The
no
form of this command restores the default behavior of not modifying the local-preference attribute of the route entry.
Command context
config-route-map
Parameters
<VALUE>
Specifies the value to be set as the local-preference attribute of the route entry. Range: 0 to 4294967295.
Authority
Administrators
Example
Configuring a set clause in the route map to modify the metric value of the route:
switch(config)# route-map GlobalMap permit seq 11 switch(config-route-map-GlobalMap-11)# set local-preference 100