summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-07-23 02:11:50 +0800
committerjack9603301 <jack9603301@163.com>2021-07-23 02:12:47 +0800
commit050289987d8cedee4270f7a8090417a6a63cdf11 (patch)
tree91bdf2d5dc96cc7193c29a66c41799e2fed93e81
parente09dd24cd1d7c1076dca2b30b224e17b9ae28e3a (diff)
downloadvyos-1x-050289987d8cedee4270f7a8090417a6a63cdf11.tar.gz
vyos-1x-050289987d8cedee4270f7a8090417a6a63cdf11.zip
bridge: op-mode: T3698: Support bridge monitoring
-rw-r--r--op-mode-definitions/monitor-bridge.xml.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/op-mode-definitions/monitor-bridge.xml.in b/op-mode-definitions/monitor-bridge.xml.in
new file mode 100644
index 000000000..712a924f1
--- /dev/null
+++ b/op-mode-definitions/monitor-bridge.xml.in
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="monitor">
+ <children>
+ <node name="bridge">
+ <properties>
+ <help>Monitoring bridge database generated objects and address changes</help>
+ </properties>
+ <command>sudo bridge monitor all</command>
+ <children>
+ <node name="link">
+ <command>sudo bridge monitor link</command>
+ <properties>
+ <help>Monitoring bridge database generated connection interface changes</help>
+ </properties>
+ </node>
+ <node name="fdb">
+ <command>sudo bridge monitor fdb</command>
+ <properties>
+ <help>Monitor the forwarding database changes generated by the bridge database</help>
+ </properties>
+ </node>
+ <node name="mdb">
+ <command>sudo bridge monitor mdb</command>
+ <properties>
+ <help>Monitor the multicast database changes generated by the bridge database</help>
+ </properties>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>