summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-12 10:10:10 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-12 10:15:12 +0100
commitaca9d98c818407b8009bb861ec0f5a817a9a5637 (patch)
tree0faa33b0b62e718a120df400b56b0e35331b6ff6 /interface-definitions
parentbddabbf696ec8ff638b93c5260aa4823dcc43df3 (diff)
downloadvyos-1x-aca9d98c818407b8009bb861ec0f5a817a9a5637.tar.gz
vyos-1x-aca9d98c818407b8009bb861ec0f5a817a9a5637.zip
bgp: T4069: add "parameters shutdown" CLI option
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 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.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/bgp/protocol-common-config.xml.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i
index 82c8e55a0..2b2d6fa82 100644
--- a/interface-definitions/include/bgp/protocol-common-config.xml.i
+++ b/interface-definitions/include/bgp/protocol-common-config.xml.i
@@ -1436,6 +1436,12 @@
<valueless/>
</properties>
</leafNode>
+ <leafNode name="shutdown">
+ <properties>
+ <help>Administrative shutdown of the BGP instance</help>
+ <valueless/>
+ </properties>
+ </leafNode>
#include <include/router-id.xml.i>
</children>
</node>