The set routing route-map match local-preference command matches the local preference value of the route with the value configured in the match clause.
The delete routing route-map match local-preference command restores the default behavior of not matching the local preference value of the route.
set routing route-map <route-map-name> order <NUMBER> match local-preference <value>
delete routing route-map <route-map-name> order <NUMBER> match local-preference <value>
Specifies the name of the route map. Required.
Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535.
Specifies the value to be matched with the route entry local preference in the range of 1 to 4294967295.
- Configure a match clause in the route map to match the local preference of the route: