summaryrefslogtreecommitdiff
path: root/op-mode-definitions/clear-ip.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-02 18:56:43 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-02 18:56:43 +0100
commitaf5c4c519b6a9fc0d4978ca3e3a3ec4cac579874 (patch)
treed03d4a8f2026287615cf9835b2abfe073fd358d3 /op-mode-definitions/clear-ip.xml
parentfaabb3e0f5dd80fcce381f35be9064f52cceb5e3 (diff)
downloadvyos-1x-af5c4c519b6a9fc0d4978ca3e3a3ec4cac579874.tar.gz
vyos-1x-af5c4c519b6a9fc0d4978ca3e3a3ec4cac579874.zip
op-mode: T3178: add "clear ip(v6)" commands
Diffstat (limited to 'op-mode-definitions/clear-ip.xml')
-rw-r--r--op-mode-definitions/clear-ip.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/op-mode-definitions/clear-ip.xml b/op-mode-definitions/clear-ip.xml
new file mode 100644
index 000000000..3c75ed11b
--- /dev/null
+++ b/op-mode-definitions/clear-ip.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="clear">
+ <children>
+ <node name="ip">
+ <properties>
+ <help>Clear Internet Protocol (IP) statistics or status</help>
+ </properties>
+ <children>
+ <node name="prefix-list">
+ <properties>
+ <help>Clear prefix-list statistics or status</help>
+ </properties>
+ <command>vtysh -c "$*"</command>
+ </node>
+ <tagNode name="prefix-list">
+ <properties>
+ <help>Clear prefix-list statistics or status for specified word</help>
+ <completionHelp>
+ <list>&lt;WORD&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "$*"</command>
+ <children>
+ <leafNode name="node.tag">
+ <properties>
+ <help>Clear prefix-list statistics or status for given word|network</help>
+ <completionHelp>
+ <list>&lt;x.x.x.x/x&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "$*"</command>
+ </leafNode>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>