C613-50100-01 REV C Command Reference for x930 Series 1183
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
BGP AND BGP4+ COMMANDS
BGP
DEFAULT LOCAL-PREFERENCE (BGP ONLY)
bgp default local-preference (BGP only)
Overview This command changes the default local preference value.
The local preference indicates the preferred path when there are multiple paths to
the same destination. The path with the higher preference is preferred.
Use this command to define the default local preference value that the device will
advertise for the routes it sends. 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 local preference value of
100.
Syntax
bgp default local-preference <pref-value>
no bgp default local-preference [<pref-value>]
Default By default the local-preference value is 100.
Mode Router Configuration
Examples
awplus# configure terminal
awplus(config)# router bgp 100
awplus(config-router)# bgp default local-preference 2345555
awplus# configure terminal
awplus(config)# router bgp 100
awplus(config-router)# no bgp default local-preference
Parameter Description
<pref-value> <0-4294967295> Configure default local preference value.
The default local preference value is 100.