- clear bgp neighbor
- <as as-number>
- <instance instance-name>
- <logical-system (all | logical-system-name)>
- <neighbor>
- <soft | soft-inbound>
- <soft-minimum-igp>
Command introduced before JUNOS Release 7.4.
Perform one of the following tasks:
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.
clear
When you enter this command, you are provided feedback on the status of your request.