From e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 9 Jan 2021 14:31:48 +0100 Subject: xml: op-mode: add preprocessor support as known from configuration mode --- op-mode-definitions/show-bridge.xml.in | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 op-mode-definitions/show-bridge.xml.in (limited to 'op-mode-definitions/show-bridge.xml.in') diff --git a/op-mode-definitions/show-bridge.xml.in b/op-mode-definitions/show-bridge.xml.in new file mode 100644 index 000000000..8c1f7c398 --- /dev/null +++ b/op-mode-definitions/show-bridge.xml.in @@ -0,0 +1,36 @@ + + + + + + + Show bridging information + + /sbin/brctl show + + + + Show bridge information for a given bridge interface + + + + + /sbin/brctl show $3 + + + + Show bridge Media Access Control (MAC) address table + + /sbin/brctl showmacs $3 + + + + Show bridge spanning tree information + + /sbin/brctl showstp $3 + + + + + + -- cgit v1.2.3