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>
Syntax (EX Series
Switch)
clear bgp neighbor
<as as-number>
<instance instance-name>
<neighbor>
<soft | soft-inbound>
<soft-minimum-igp>
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description
Perform one of the following tasks:
•
Change the state of one or more Border Gateway Protocol (BGP) neighbors to
IDLE
.
For neighbors in the
ESTABLISHED
state, this command drops the TCP connection to
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.
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.
Copyright © 2010, Juniper Networks, Inc.
2020
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...