
C613-50186-01 Rev B
Command Reference for AR2050V
1412
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
R
OUTE
M
AP
C
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.
Syntax
set local-preference
<pref-value
>
no set local-preference [
<pref-value>
]
Mode
Route-map Configuration
Examples
awplus#
configure terminal
awplus(config)#
route-map rmap1 permit 3
awplus(config-route-map)#
set local-preference 2345555
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-route-map)#
no set local-preference
Related
Commands
For related Route Map commands:
For related BGP commands:
bgp default local-preference (BGP only)
Parameter
Description
<pref-value>
<0-4294967295> Configure local preference value.
The default local preference value is 100.