set routing route-map match local-preference
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.
Command Syntax
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>
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 matched with the route entry local preference in the range of 1 to 4294967295. |
Example
- Configure a match clause in the route map to match the local preference of the route:
admin@Xorplus# set routing route-map GlobalMap order 10 match local-preference 100 admin@Xorplus# set routing route-map GlobalMap order 10 matching-action permit admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.