clear bgp neighbor
Syntax
clear bgp neighbor<asas-number><instanceinstance-name><logical router(all |logical-router-name)><neighbor><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 reestablished).Options
none—Change the state of all BGP neighbors to IDLE.
asas-number—(Optional) Clear the state of the neighbors in the specified autonomous system (AS) only.
instanceinstance-name—(Optional) Clear all neighbors for the specified routing instance.
logical-router (all |logical-router-name)—(Optional) Perform this operation on all logical routers or on a particular logical router.
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