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


clear bgp neighbor

Syntax

clear bgp neighbor <neighbor | as as-number> <soft | soft-inbound>
<logical-router logical-router-name>

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 re-established).

Options

as as-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.

logical-router logical-router-name—(Optional) Name of a particular logical router on which the command operates.

Required Privilege Level

clear

Sample Output

user@host> clear bgp neighbor

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