summaryrefslogtreecommitdiffstats
path: root/doc/user
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2019-08-12 21:02:39 +0200
committerDon Slice <dslice@cumulusnetworks.com>2019-08-20 15:50:58 +0200
commitdc91261567a46848eb9f3634cecce4fe1c08e0a2 (patch)
tree496716e62dcface781793a908c6206bd718046f4 /doc/user
parentMerge pull request #4848 from donaldsharp/spelling_errors (diff)
downloadfrr-dc91261567a46848eb9f3634cecce4fe1c08e0a2.tar.xz
frr-dc91261567a46848eb9f3634cecce4fe1c08e0a2.zip
bgpd: make clear bgp * clear all peers in all afi/safis
Problem reported that "clear bgp *" only cleared ipv6 peers. Changed the logic to clear all afi/safis of all peers in that case. Also improved the operation of clearing individual afi/safi using soft/in/out to do the right thing. Ticket: CM-25887 Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'doc/user')
-rw-r--r--doc/user/bgp.rst30
1 files changed, 25 insertions, 5 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index f2b132807..c329ab6d9 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -2138,20 +2138,40 @@ Dumping Messages and Routing Tables
Other BGP Commands
------------------
+.. index:: clear bgp \*
+.. clicmd:: clear bgp \*
+
+ Clear all peers.
+
.. index:: clear bgp ipv4|ipv6 \*
.. clicmd:: clear bgp ipv4|ipv6 \*
- Clear all address family peers.
+ Clear all peers with this address-family activated.
+
+.. index:: clear bgp ipv4|ipv6 unicast \*
+.. clicmd:: clear bgp ipv4|ipv6 unicast \*
+
+ Clear all peers with this address-family and sub-address-family activated.
.. index:: clear bgp ipv4|ipv6 PEER
.. clicmd:: clear bgp ipv4|ipv6 PEER
- Clear peers which have addresses of X.X.X.X
+ Clear peers with address of X.X.X.X and this address-family activated.
+
+.. index:: clear bgp ipv4|ipv6 unicast PEER
+.. clicmd:: clear bgp ipv4|ipv6 unicast PEER
+
+ Clear peer with address of X.X.X.X and this address-family and sub-address-family activated.
+
+.. index:: clear bgp ipv4|ipv6 PEER soft|in|out
+.. clicmd:: clear bgp ipv4|ipv6 PEER soft|in|out
+
+ Clear peer using soft reconfiguration in this address-family.
-.. index:: clear bgp ipv4|ipv6 PEER soft in
-.. clicmd:: clear bgp ipv4|ipv6 PEER soft in
+.. index:: clear bgp ipv4|ipv6 unicast PEER soft|in|out
+.. clicmd:: clear bgp ipv4|ipv6 unicast PEER soft|in|out
- Clear peer using soft reconfiguration.
+ Clear peer using soft reconfiguration in this address-family and sub-address-family.
.. _bgp-displaying-bgp-information: