summaryrefslogtreecommitdiff
path: root/op-mode-definitions/reset-ip-multicast.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-06 16:25:20 +0200
committerGitHub <noreply@github.com>2020-04-06 16:25:20 +0200
commite0f13b79a669e7fc8cadac8757b2f5fbbf51dc99 (patch)
tree466d24f71165d89ef03193cb4b42350f237fc170 /op-mode-definitions/reset-ip-multicast.xml
parent1730afc6ebb50a9b159484cfc9d3bbaf7b67f8f4 (diff)
parent24e4fa0370dd9b5587c922526975ddfb736a6e66 (diff)
downloadvyos-1x-e0f13b79a669e7fc8cadac8757b2f5fbbf51dc99.tar.gz
vyos-1x-e0f13b79a669e7fc8cadac8757b2f5fbbf51dc99.zip
Merge pull request #297 from sever-sever/clear-igmp
igmp: T2156:[op-mode] Add clear for igmp/multicast
Diffstat (limited to 'op-mode-definitions/reset-ip-multicast.xml')
-rw-r--r--op-mode-definitions/reset-ip-multicast.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/op-mode-definitions/reset-ip-multicast.xml b/op-mode-definitions/reset-ip-multicast.xml
new file mode 100644
index 000000000..d610add16
--- /dev/null
+++ b/op-mode-definitions/reset-ip-multicast.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="reset">
+ <children>
+ <node name="ip">
+ <children>
+ <node name="multicast">
+ <properties>
+ <help>IP multicast routing table</help>
+ </properties>
+ <children>
+ <leafNode name="route">
+ <properties>
+ <help>Clear multicast routing table</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "clear ip mroute"</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>