Korenix Technology Co., Ltd.
Industrial
Layer 3 Managed Ethernet Switch
_____________________________________________________________________________
Industrial Layer 3 Managed Ethernet SwitchUser Manual
Page: 788/1568
7.10.2.17 set local-preference
To set the local preference of specific BGP routes, use the
set local-preference
command in Route Map
Configuration mode. The local preference is the first attribute used to compare BGP routes. Setting the
local preference can influence which route BGP selects as the best route.
When used in conjunction with a 'match as-path' or 'match ip address' command, this command can be
used to prefer routes that transit certain ASs or to make the local router a more preferred exit point to
certain destinations.
To remove a set command from a route map, use the
no
form of this command.
Syntax
set local-preference <value>
no set local-preference
Default Setting
None.
Command Mode
Route Map Config
Parameter
value:
A local preference value, from 0 to 4,294,967,295 (any 32-bit integer).