diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-02 18:56:43 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-02 18:56:43 +0100 |
commit | af5c4c519b6a9fc0d4978ca3e3a3ec4cac579874 (patch) | |
tree | d03d4a8f2026287615cf9835b2abfe073fd358d3 /op-mode-definitions/clear-ip.xml | |
parent | faabb3e0f5dd80fcce381f35be9064f52cceb5e3 (diff) | |
download | vyos-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.xml | 40 |
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><WORD></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><x.x.x.x/x></list> + </completionHelp> + </properties> + <command>vtysh -c "$*"</command> + </leafNode> + </children> + </tagNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> |