bgp default local-preference
Use this command to change the default local preference value.Local preference indicates the preferred path when there are multiple paths to the same destination. The path having a higher preference is preferred. The preference is sent to all routers and access servers in the local autonomous system.
Use the no parameter with this command to revert to the default value for local preference.
Command Syntax
bgp default local-preference <0-4294967295>
no bgp default local-preference
no bgp default local-preference <0-4294967295>
Parameter
<0-4294967295>
Local preference value
Default
By default, local preference value is 100
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 100
(config-router)#bgp default local-preference 2345555
Last modified date: 10/16/2023