summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schweizer <dschweizer@opensourcerouting.org>2020-08-19 17:31:17 +0200
committerDavid Schweizer <dschweizer@opensourcerouting.org>2020-08-19 17:31:17 +0200
commitdf465afea8915bb011720b59622fd8d67db2c7ff (patch)
treeb166cd3b39d1478c9d9800f96b9a10c67c63ed7d
parent1e12ebbca3e06dc905ccc9dc29c1e4cb09b2d1b6 (diff)
bgpd: documentation for bgp admin shutdown.
* Added an entry in the user documentation for the bgp shutdown cli command. Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
-rw-r--r--doc/user/bgp.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index 99dfee60eb..4a5bdc2428 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -900,6 +900,25 @@ BGP GR Peer Mode Commands
at the peer level.
+.. _bgp-shutdown:
+
+Administrative Shutdown
+-----------------------
+
+.. index:: [no] bgp shutdown [message MSG...]
+.. clicmd:: [no] bgp shutdown [message MSG...]
+
+ Administrative shutdown of all peers of a bgp instance. Drop all BGP peers,
+ but preserve their configurations. The peers are notified in accordance with
+ `RFC 8203 <https://tools.ietf.org/html/rfc8203/>`_ by sending a
+ ``NOTIFICATION`` message with error code ``Cease`` and subcode
+ ``Administrative Shutdown`` prior to terminating connections. This global
+ shutdown is independent of the neighbor shutdown, meaning that individually
+ shut down peers will not be affected by lifting it.
+
+ An optional shutdown message `MSG` can be specified.
+
+
.. _bgp-network:
Networks