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

clear bgp neighbor

Syntax

clear bgp neighbor
<as as-number>
<instance instance-name>
<logical-system (all | logical-system-name)>
<neighbor>
<soft | soft-inbound>
<soft-minimum-igp>

Release Information

Command introduced before JUNOS Release 7.4.

Description

Perform one of the following tasks:

Options

none — Change the state of all BGP neighbors to IDLE.

as as-number(Optional) Apply this command only to neighbors in the specified autonomous system (AS).

instance instance-name(Optional) Apply this command only to neighbors for the specified routing instance.

logical-system (all | logical-system-name) — (Optional) Perform this operation on all logical systems or on a particular logical system.

neighbor(Optional) IP address of a BGP peer. Apply this command only to the specified neighbor.

soft — (Optional) Reapply any export policies and send refresh updates to neighbors without clearing the state.

soft-inbound — (Optional) Reapply any import policies and send refresh updates to neighbors without clearing the state.

soft-minimum-igp — (Optional) Provides soft refresh of the outbound state when the interior gateway protocol (IGP) metric is reset.

Required Privilege Level

clear

Related Topics

show bgp neighbor

List of Sample Output

clear bgp neighbor

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

clear bgp neighbor

user@host> clear bgp neighbor

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