From 9370de0ebafa85608e32ed779545e35e532e8009 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 22 Jun 2019 01:24:02 +0200 Subject: bfd: T1137: add 'show protocols bfd peer' command --- op-mode-definitions/show-protocols-bfd.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 op-mode-definitions/show-protocols-bfd.xml (limited to 'op-mode-definitions') 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 @@ + + + + + + + + + + + Show Bidirectional Forwarding Detection (BFD) Status + + /usr/bin/vtysh -c "show bfd peers" + + + + + + + + -- cgit v1.2.3 From 921849da85c634fb34d331c318992697db6449e7 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 23 Jun 2019 11:34:30 +0200 Subject: bfd: T1183: support show of individual BFD peer vyos@vyos:~$ show protocols bfd peer BFD Peers: peer 172.18.1.2 interface eth0.701 ID: 3762227714 Remote ID: 3787683864 Status: up Uptime: 24 minute(s), 54 second(s) Diagnostics: ok Remote diagnostics: ok Local timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms Remote timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms peer 172.18.0.2 interface eth0.700 ID: 3132309989 Remote ID: 859733951 Status: up Uptime: 25 minute(s), 24 second(s) Diagnostics: ok Remote diagnostics: ok Local timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms Remote timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms vyos@vyos:~$ show protocols bfd peer Possible completions: Execute the current command 172.18.0.2 Show Bidirectional Forwarding Detection (BFD) peer status 172.18.1.2 vyos@vyos:~$ show protocols bfd peer 1 172.18.0.2 172.18.1.2 vyos@vyos:~$ show protocols bfd peer 172.18.0.2 BFD Peer: peer 172.18.0.2 interface eth0.700 ID: 3132309989 Remote ID: 859733951 Status: up Uptime: 25 minute(s), 29 second(s) Diagnostics: ok Remote diagnostics: ok Local timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms Remote timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms --- op-mode-definitions/show-protocols-bfd.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-protocols-bfd.xml b/op-mode-definitions/show-protocols-bfd.xml index 052e6a700..3c682d6f7 100644 --- a/op-mode-definitions/show-protocols-bfd.xml +++ b/op-mode-definitions/show-protocols-bfd.xml @@ -8,10 +8,19 @@ - Show Bidirectional Forwarding Detection (BFD) Status + Show all Bidirectional Forwarding Detection (BFD) peer status /usr/bin/vtysh -c "show bfd peers" + + + Show Bidirectional Forwarding Detection (BFD) peer status + + + + + /usr/bin/vtysh -c "show bfd peer $5" + -- cgit v1.2.3