OcNOS-RON-6.3.1 : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : neighbor g-shut
neighbor g-shut
Use this command to start a graceful shutdown for the BGP session of the specified BGP neighbor. The BGP session for this neighbor is shut down after the graceful shutdown timer expires.
If there is no alternate path available for traffic to flow prior the actual shutdown of the BGP session, this path is made available for 60 seconds or for configured time after which the path is no longer available and traffic is dropped.
Use the no parameter with this command to bring up the session again for the specified BGP neighbor whose BGP session had been shut down using the neighbor g-shut command.
Note: The graceful shutdown capability is not supported on iBGP sessions.
Command Syntax
neighbor (A.B.C.D|X:X::X:X|WORD) g-shut
no neighbor (A.B.C.D|X:X::X:X|WORD) g-shut
Parameters
A.B.C.D
Neighbor IPv4 address
X:X::X:X|
Neighbor IPv6 address
WORD
Neighbor tag
Default
By default, neighbor g-shut is disabled
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 100
(config-router)#neighbor 1.1.1.2 g-shut
 
#configure terminal
(config)#router bgp 100
(config-router)#no neighbor 1.1.1.2 g-shut
 
 
Last modified date: 07-13-2023