summaryrefslogtreecommitdiff
path: root/templates/clear/interfaces/loopback/counters/node.def
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-02-08 15:04:40 -0800
committerStig Thormodsrud <stig@vyatta.com>2008-02-08 15:04:40 -0800
commit779df7e2f84b2750f33c073b2f310398d9f8a0fa (patch)
tree5978292710565815ff0e8308947732f61cc71650 /templates/clear/interfaces/loopback/counters/node.def
parent4647ef1a3a84880cc7a52d2bf74163d7e470b150 (diff)
downloadvyatta-op-779df7e2f84b2750f33c073b2f310398d9f8a0fa.tar.gz
vyatta-op-779df7e2f84b2750f33c073b2f310398d9f8a0fa.zip
- Fix bug 776: need "clear interface" command to clear counters
- Fix bug 1095: Enhancement Request: "Show interface brief" command - Change default to "brief" if multiple interfaces can be shown - Add "detail" for nodes defaulting to brief - Add "brief" for nodes defaulting to detail - Fix vif completions that wasn't working - Remove ethtool can on vlans since it doesn't work
Diffstat (limited to 'templates/clear/interfaces/loopback/counters/node.def')
-rw-r--r--templates/clear/interfaces/loopback/counters/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/clear/interfaces/loopback/counters/node.def b/templates/clear/interfaces/loopback/counters/node.def
new file mode 100644
index 0000000..5ebcd3d
--- /dev/null
+++ b/templates/clear/interfaces/loopback/counters/node.def
@@ -0,0 +1,2 @@
+help: Clear all loopback interface counters
+run: sudo ${vyatta_bindir}/vyatta-show-interfaces.pl --action=clear --intf-type=$3