[Contents] [Prev] [Next] [Index] [Report an Error]


clear bgp neighbor

Syntax

clear bgp neighbor 
<as as-number> 
<instance instance-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 the ESTABLISHED state, 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.

as as-number—(Optional) Clear the state of the neighbors in the specified autonomous system (AS) only.

instance instance-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

clear


[Contents] [Prev] [Next] [Index] [Report an Error]