diff options
-rw-r--r-- | op-mode-definitions/clear-ip.xml | 40 | ||||
-rw-r--r-- | op-mode-definitions/clear-ipv6.xml | 40 |
2 files changed, 80 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> diff --git a/op-mode-definitions/clear-ipv6.xml b/op-mode-definitions/clear-ipv6.xml new file mode 100644 index 000000000..f26ab4046 --- /dev/null +++ b/op-mode-definitions/clear-ipv6.xml @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="clear"> + <children> + <node name="ipv6"> + <properties> + <help>Clear Internet Protocol (IPv6) 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><h:h:h:h:h:h:h:h/x></list> + </completionHelp> + </properties> + <command>vtysh -c "$*"</command> + </leafNode> + </children> + </tagNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> |