R
M
C
OUTE
AP
OMMANDS
-
SET LOCAL
PREFERENCE
set local-preference
Overview
This command changes the default local preference value.
The local preference indicates the BGP local preference path attribute when there
are multiple paths to the same destination. The path with the higher preference is
chosen.
Use this command to define the preference of a particular path. The preference is
sent to all routers and access servers in the local autonomous system.
The no variant of this command reverts to the default setting.
set local-preference <pref-value>
Syntax
no set local-preference [<pref-value>]
Mode
Route-map Configuration
Examples
awplus#
awplus(config)#
awplus(config-route-map)#
awplus#
awplus(config)#
awplus(config-route-map)#
Related
For related Route Map commands:
Commands
route-map
show route-map
For related BGP commands:
bgp default local-preference (BGP only)
neighbor route-map
C613-50186-01 Rev B
Parameter
Description
<pref-value>
<0-4294967295> Configure local preference value.
The default local preference value is 100.
configure terminal
route-map rmap1 permit 3
configure terminal
router bgp 100
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
set local-preference 2345555
no set local-preference
1412