C613-50631-01 Rev A Command Reference for IE340 Series 1636
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
ROUTE MAP COMMANDS
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:
route-map
show route-map
For related BGP commands:
bgp default local-preference (BGP only)
neighbor route-map
Parameter Description
<pref-value> <0-4294967295> Configure local preference value.
The default local preference value is 100.