OcNOS-RON-6.3.1 : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : neighbor shutdown
neighbor shutdown
Use this command to terminate active sessions for a specified neighbor and clear all related routing information.
If a peer group is specified, a large number of peering sessions might be terminated. The show ip bgp summary command displays a summary of BGP neighbors and their connections.
Use description option for operators to transmit a short free-form message to describe why a BGP session was shut down.
Use the no parameter with this command to re-enable a neighbor.
Command Syntax
neighbor (A.B.C.D|X:X::X:X|WORD) shutdown (description LINE|)
no neighbor (A.B.C.D|X:X::X:X|WORD) shutdown
Foe BGP unnumbered mode:
neighbor WORD shutdown (description LINE|)
no neighbor WORD shutdown
Parameters
A.B.C.D
Address of the BGP neighbor in an IPv4 format
X:X::X:X
Address of the BGP neighbor in an IPv6 format
WORD
Name of a BGP peer group created with the neighbor WORD peer-group command. When you specify this parameter, the command applies to all peers in the group
description
Administratively shutdown communication msg to neighbor.
Default
By default, neighbor shutdown is disabled.
Command Mode
Router mode and Address Family-vrf mode and BGP unnumbered mode.
Applicability
This command was introduced before OcNOS version 1.3. The new version of the command with “description” option is introduced in OcNOS version 6.0.0.
Examples
#configure terminal
(config)#router bgp 10
(config-router)#neighbor 10.10.0.72 shutdown
 
(config)#router bgp 100
(config-router)#address-family ipv6 vrf VRF_A
(config-router-af)#neighbor 3ffe:15:15:15:15::0 shutdown description software upgrade; back in 2 hours
 
For unnumbered peer below configuration is given in BGP unnumbered-mode.
(config)#router bgp 100
(config-router)#bgp unnumbered-mode
(config-router-unnum)#neighbor eth1 shutdown
 
Last modified date: 07-13-2023