summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-bridge.xml.in
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-01-25 14:57:21 +0800
committerjack9603301 <jack9603301@163.com>2021-01-25 15:06:33 +0800
commit1a57a4b0bb4de379f178d4d91a790a65d555340e (patch)
treef18cba329413ad099b30d23d16117f4690dd89aa /op-mode-definitions/show-bridge.xml.in
parent261f37bd8090c60bb346be664f0bfcc9c04613f9 (diff)
downloadvyos-1x-1a57a4b0bb4de379f178d4d91a790a65d555340e.tar.gz
vyos-1x-1a57a4b0bb4de379f178d4d91a790a65d555340e.zip
bridge: op-mode: T3249: Support operation mode forwarding table output
Diffstat (limited to 'op-mode-definitions/show-bridge.xml.in')
-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>