summaryrefslogtreecommitdiff
path: root/templates/clear/arp/address
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-02-01 13:12:49 -0800
committerStig Thormodsrud <stig@vyatta.com>2008-02-01 13:12:49 -0800
commit5b0aa0594ac418bfd91a6530f208365bbf9021e3 (patch)
tree6a5cf3c2c0b195153f8eed8a3029d4209fd9b18c /templates/clear/arp/address
parente07be3db929777506ad98e3e550f943878f122db (diff)
downloadvyatta-op-5b0aa0594ac418bfd91a6530f208365bbf9021e3.tar.gz
vyatta-op-5b0aa0594ac418bfd91a6530f208365bbf9021e3.zip
Add 'clear arp <address|interface>' bug 2702
Diffstat (limited to 'templates/clear/arp/address')
-rw-r--r--templates/clear/arp/address/node.def1
-rw-r--r--templates/clear/arp/address/node.tag/node.def3
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/clear/arp/address/node.def b/templates/clear/arp/address/node.def
new file mode 100644
index 0000000..149cf76
--- /dev/null
+++ b/templates/clear/arp/address/node.def
@@ -0,0 +1 @@
+help: Clear ARP cache for address
diff --git a/templates/clear/arp/address/node.tag/node.def b/templates/clear/arp/address/node.tag/node.def
new file mode 100644
index 0000000..a25ad1f
--- /dev/null
+++ b/templates/clear/arp/address/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Clear ARP cache for address
+allowed: echo -n '<ip_address>'
+run: sudo ip neigh flush to $4