Causes a device to shut down the session administratively with its BGP neighbor.
BGP configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
Shutting down a session lets you configure the neighbor and save the configuration without the need to establish a session with that neighbor.
The following example causes a device to shut down the session administratively with its neighbor.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.12.13 shutdown
The following example causes a device to shut down the session administratively with its neighbor and generate RIB outbound routes for VRF instance "red".
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast vrf red device(config-bgp-ipv6u-vrf)# neighbor 2001:2018:8192::125 shutdown generate-rib-out