bgp g-shut-local-preference
Use this command to sets the local preference of the router to use during graceful shutdown. The local preference value indicates the preferred path when there are multiple paths to the same destination in a single routing database. The path with a higher preference value is the preferred one. The preferred path 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 setting.
Command Syntax
bgp g-shut-local-preference <0-4294967295>
no bgp g-shut-local-preference
Parameters
<0-4294967295>
Local preference value
Default
By default, the local preference value is set to 0
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 100
(config-router)#bgp g-shut-local-preference 22
Last modified date: 07-13-2023