clear bgp neighbor
Syntax
clear bgp neighbor <neighbor| asas-number> <soft | soft-inbound>Description
Change the state of BGP neighbor to
IDLE. For neighbors that are in theESTABLISHEDstate, this action causes the TCP connection to that neighbor to be torn down (and subsequently re-established).Options
asas-number—(Optional) Clear the state of the neighbors in the specified AS only.
neighbor—(Optional) Clear the state of the specified neighbor only.
soft—(Optional) Reapply any export policies and send refresh updates to the peer without clearing the state.
soft-inbound—(Optional) Reapply any import policies and send refresh updates to the peer without clearing the state.Required Privilege Level
Sample Output
user@host>clear bgp neighbor