From 25d95b1f73f3e5e0fd2dfc9199f46d808c68af43 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 15 Dec 2021 22:18:34 +0100 Subject: op-mode: T4073: drop "show protocols bfd" in favour of "show bfd" --- op-mode-definitions/include/bfd-common.xml.i | 54 ---------------------------- 1 file changed, 54 deletions(-) delete mode 100644 op-mode-definitions/include/bfd-common.xml.i (limited to 'op-mode-definitions/include') diff --git a/op-mode-definitions/include/bfd-common.xml.i b/op-mode-definitions/include/bfd-common.xml.i deleted file mode 100644 index eebfbdad4..000000000 --- a/op-mode-definitions/include/bfd-common.xml.i +++ /dev/null @@ -1,54 +0,0 @@ - - - - Show Bidirectional Forwarding Detection (BFD) - - - - - Show all Bidirectional Forwarding Detection (BFD) peer status - - vtysh -c "show bfd peers" - - - - Show Bidirectional Forwarding Detection (BFD) peer counters - - vtysh -c "show bfd peers counters" - - - - - - Show Bidirectional Forwarding Detection (BFD) peer status - - - - - vtysh -c "show bfd peers" | awk -v BFD_PEER=$5 'BEGIN { regex = sprintf("(peer %s.*)vrf", BFD_PEER) } { if (match($0, regex, bfd_peer_value)) peer=bfd_peer_value[1] } END { if (peer) system("vtysh -c \"show bfd " peer "\"") }' - - - - Show Bidirectional Forwarding Detection (BFD) peer counters - - vtysh -c "show bfd peers" | awk -v BFD_PEER=$5 'BEGIN { regex = sprintf("(peer %s.*)vrf", BFD_PEER) } { if (match($0, regex, bfd_peer_value)) peer=bfd_peer_value[1] } END { if (peer) system("vtysh -c \"show bfd " peer " counters\"") }' - - - - - - Show Bidirectional Forwarding Detection peers - - vtysh -c "show bfd peers" - - - - Show Bidirectional Forwarding Detection (BFD) peers brief - - vtysh -c "show bfd peers brief" - - - - - - -- cgit v1.2.3