summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-11 14:09:15 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-11 14:09:15 -0800
commit7d74c1863204dd7666f1b9085828eee374893d3c (patch)
tree1521bfdf38ea70a4ff1942575731b331a76c1009 /templates
parent2ab2634ea2ce2b157ddfb1febfc38a721bb2b208 (diff)
downloadvyatta-op-7d74c1863204dd7666f1b9085828eee374893d3c.tar.gz
vyatta-op-7d74c1863204dd7666f1b9085828eee374893d3c.zip
Add show arp eth0
Simple extension to allow show arp entries per interface
Diffstat (limited to 'templates')
-rw-r--r--templates/show/arp/node.tag/node.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/show/arp/node.tag/node.def b/templates/show/arp/node.tag/node.def
new file mode 100644
index 0000000..b1e7a61
--- /dev/null
+++ b/templates/show/arp/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Show Address Resolution Protocol (ARP) for a specific interface
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show ethernet
+run: /usr/bin/arp -e -n -i "$3"