neighbor shutdown

Syntax

neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} shutdown

no neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} shutdown

Description

This command disables the peer session, terminates any active session for the specified neighbor or peer group, and removes all associated routing information. This action can cause the sudden termination of many peering sessions.

The no form of this command enables the peer session for the specified neighbor.

Command context

config-bgp

Parameters

<IP-ADDRESS>

Specifies an IP address.

<PEER-GROUP-NAME>

Specifies a peer group.

Authority

Administrators

Usage

Sessions are gracefully shut down when graceful-shutdown is enabled. Enter the neighbor graceful-shutdown command to enable graceful-shutdown. If graceful-shutdown is configured without delay or local-preference, the default values are used.

Examples

switch(config-bgp)# neighbor 1.1.1.1 shutdown
switch(config-bgp)# no neighbor 1.1.1.1 shutdown
switch(config-bgp)# neighbor pg shutdown
switch(config-bgp)# no neighbor pg shutdown