summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-08-14 17:36:37 +0700
committerGitHub <noreply@github.com>2019-08-14 17:36:37 +0700
commit8d1e768a6f3285ed717f588f356db9340871b043 (patch)
tree0919a5e924279f7c3e737a6248a56418ca9d755e
parent02408b253845b005a2b4a7cfb517e156cd0310c2 (diff)
parent8cfe90afcaec171e03a266df7295d069ab260ef8 (diff)
downloadvyos-1x-8d1e768a6f3285ed717f588f356db9340871b043.tar.gz
vyos-1x-8d1e768a6f3285ed717f588f356db9340871b043.zip
Merge pull request #104 from DmitriyEshenko/bfd
[bfd] T1183 Adding support show bfd counters
-rw-r--r--op-mode-definitions/show-protocols-bfd.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/op-mode-definitions/show-protocols-bfd.xml b/op-mode-definitions/show-protocols-bfd.xml
index 3c682d6f7..2a94d0497 100644
--- a/op-mode-definitions/show-protocols-bfd.xml
+++ b/op-mode-definitions/show-protocols-bfd.xml
@@ -11,6 +11,14 @@
<help>Show all Bidirectional Forwarding Detection (BFD) peer status</help>
</properties>
<command>/usr/bin/vtysh -c "show bfd peers"</command>
+ <children>
+ <leafNode name="counters">
+ <properties>
+ <help>Show Bidirectional Forwarding Detection (BFD) peer counters</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show bfd peers counters"</command>
+ </leafNode>
+ </children>
</node>
<tagNode name="peer">
<properties>
@@ -20,6 +28,14 @@
</completionHelp>
</properties>
<command>/usr/bin/vtysh -c "show bfd peer $5"</command>
+ <children>
+ <leafNode name="counters">
+ <properties>
+ <help>Show Bidirectional Forwarding Detection (BFD) peer counters</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show bfd peer $5 counters"</command>
+ </leafNode>
+ </children>
</tagNode>
</children>
</node>