From 2e07d9c1994a14ccb2380744a5388e389eafbd66 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 15 Dec 2021 22:15:58 +0100 Subject: op-mode: bfd: T4073: "show protocols bfd peer " returned invalid session data Due to the AWK regex pattern data from a different peer was returned as the first match was shown. (cherry picked from commit 6f9ba4e577a6470372a478310ea0c49a6400b8e6) --- op-mode-definitions/show-bfd.xml.in | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 op-mode-definitions/show-bfd.xml.in (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-bfd.xml.in b/op-mode-definitions/show-bfd.xml.in new file mode 100644 index 000000000..39e42e6ec --- /dev/null +++ b/op-mode-definitions/show-bfd.xml.in @@ -0,0 +1,56 @@ + + + + + + + Show Bidirectional Forwarding Detection (BFD) + + + + + Show all Bidirectional Forwarding Detection (BFD) peer status + + + + + Show Bidirectional Forwarding Detection (BFD) peer status + + + + + vtysh -c "show bfd peers" | sed -n "/peer $4 /,/^$/p" + + + + Show Bidirectional Forwarding Detection (BFD) peer counters + + vtysh -c "show bfd peers counters" | sed -n "/peer $4 /,/^$/p" + + + + + + Show Bidirectional Forwarding Detection peers + + vtysh -c "show bfd peers" + + + + Show Bidirectional Forwarding Detection (BFD) peer counters + + vtysh -c "show bfd peers counters" + + + + Show Bidirectional Forwarding Detection (BFD) peers brief + + vtysh -c "show bfd peers brief" + + + + + + + + -- cgit v1.2.3