neighbor shutdown

Syntax

neighbor {< ip地址>|} shutdown no neighbor {< ip地址>|} shutdown

描述

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没有form of this command enables the peer session for the specified neighbor.

Command context

config-bgp

Parameters

< ip地址>

Specifies an IP address.

Specifies a peer group.

权威

Administrators or local user group members with execution rights for this command.

Usage

Sessions are gracefully shut down when graceful-shutdown is enabled. Enter theneighbor graceful-shutdown命令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 shutdownswitch(config-bgp)#没有neighbor 1.1.1.1 shutdown
switch(config-bgp)#neighbor pg shutdownswitch(config-bgp)#没有neighbor pg shutdown