clear bgp neighbor
Syntax
Syntax (EX Series
Switch)
Release Information
Description
Options
Copyright © 2010, Juniper Networks, Inc.
clear bgp neighbor
<as as-number>
<instance instance-name>
<logical-system (all | logical-system-name)>
<neighbor>
<soft | soft-inbound>
<soft-minimum-igp>
clear bgp neighbor
<as as-number>
<instance instance-name>
<neighbor>
<soft | soft-inbound>
<soft-minimum-igp>
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Perform one of the following tasks:
Change the state of one or more Border Gateway Protocol (BGP) neighbors to
For neighbors in the
ESTABLISHED
the neighbors and then reestablishes the connection.
(
soft
or
soft-inbound
keyword only) Reapply export policies or import policies,
respectively, and send refresh updates to one or more BGP neighbors without changing
their state.
—Change the state of all BGP neighbors to
none
as as-number
—(Optional) Apply this command only to neighbors in the specified
autonomous system (AS).
—(Optional) Apply this command only to neighbors for the specified
instance instance-name
routing instance.
logical-system (all | logical-system-name)
systems or on a particular logical system.
—(Optional) IP address of a BGP peer. Apply this command only to the specified
neighbor
neighbor.
—(Optional) Reapply any export policies and send refresh updates to neighbors
soft
without clearing the state.
soft-inbound
—(Optional) Reapply any import policies and send refresh updates to
neighbors without clearing the state.
—(Optional) Provides soft refresh of the outbound state when the
soft-minimum-igp
interior gateway protocol (IGP) metric is reset.
Chapter 80: Operational Commands for Layer 3 Protocols
state, this command drops the TCP connection to
.
IDLE
—(Optional) Perform this operation on all logical
IDLE
.
2247