protocols bgp <asn> neighbor <id> shutdown
Administratively shuts down a BGP neighbor.
Disabled.
- asn
- The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
- id
- The IPv4 or IPv6 address of a BGP neighbor.
Configuration mode
protocols {
bgp asn {
neighbor id {
shutdown
}
}
}
Use the set form of this command to administratively shut down a BGP neighbor.
Shutting down a BGP speaker administratively terminates any active sessions for the neighbor and removes any associated routing information. If the neighbor is a peer group, this could terminate a large number of sessions.
To determine whether a BGP neighbor has been administratively shut down, you can view BGP summary information. A neighbor with a status of Idle with a comment of Admin has been administratively shut down.
Use the delete form of this command to administratively re-enable a BGP neighbor.
Use the show form of this command to view BGP neighbor configuration settings.