summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-protocols-bfd.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-06-22 01:24:02 +0200
committerChristian Poessinger <christian@poessinger.com>2019-06-22 14:53:34 +0200
commit9370de0ebafa85608e32ed779545e35e532e8009 (patch)
tree19618de77581377983bc3080090fcfc723484f61 /op-mode-definitions/show-protocols-bfd.xml
parent1b1f6b20226c92e4beba171159ead8fb21713484 (diff)
downloadvyos-1x-9370de0ebafa85608e32ed779545e35e532e8009.tar.gz
vyos-1x-9370de0ebafa85608e32ed779545e35e532e8009.zip
bfd: T1137: add 'show protocols bfd peer' command
Diffstat (limited to 'op-mode-definitions/show-protocols-bfd.xml')
-rw-r--r--op-mode-definitions/show-protocols-bfd.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/op-mode-definitions/show-protocols-bfd.xml b/op-mode-definitions/show-protocols-bfd.xml
new file mode 100644
index 000000000..052e6a700
--- /dev/null
+++ b/op-mode-definitions/show-protocols-bfd.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="protocols">
+ <children>
+ <node name="bfd">
+ <children>
+ <node name="peer">
+ <properties>
+ <help>Show Bidirectional Forwarding Detection (BFD) Status</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show bfd peers"</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>