summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-25 15:29:44 +0100
committerGitHub <noreply@github.com>2021-01-25 15:29:44 +0100
commitd9615227855991202e26f1bf6d8f77232da9fb85 (patch)
treed7aecb488f1b8a189a562206dda733a562081ba4
parent73cc357b757eb6129db286709812996ebcc4fd19 (diff)
parent1a57a4b0bb4de379f178d4d91a790a65d555340e (diff)
downloadvyos-1x-d9615227855991202e26f1bf6d8f77232da9fb85.tar.gz
vyos-1x-d9615227855991202e26f1bf6d8f77232da9fb85.zip
Merge pull request #696 from jack9603301/T3249
bridge: op-mode: T3249: Support operation mode forwarding table output
-rw-r--r--op-mode-definitions/show-bridge.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-bridge.xml.in b/op-mode-definitions/show-bridge.xml.in
index 8c1f7c398..78c350e44 100644
--- a/op-mode-definitions/show-bridge.xml.in
+++ b/op-mode-definitions/show-bridge.xml.in
@@ -29,6 +29,12 @@
</properties>
<command>/sbin/brctl showstp $3</command>
</leafNode>
+ <leafNode name="fdb">
+ <properties>
+ <help>Show the forwarding database of the bridge</help>
+ </properties>
+ <command>/usr/sbin/bridge -c fdb show br $3</command>
+ </leafNode>
</children>
</tagNode>
</children>