summaryrefslogtreecommitdiff
path: root/templates/clear/ipv6/neighbors/address
diff options
context:
space:
mode:
Diffstat (limited to 'templates/clear/ipv6/neighbors/address')
-rw-r--r--templates/clear/ipv6/neighbors/address/node.def1
-rw-r--r--templates/clear/ipv6/neighbors/address/node.tag/node.def3
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/clear/ipv6/neighbors/address/node.def b/templates/clear/ipv6/neighbors/address/node.def
new file mode 100644
index 0000000..ffb7376
--- /dev/null
+++ b/templates/clear/ipv6/neighbors/address/node.def
@@ -0,0 +1 @@
+help: Clear ND cache for an IPv6 address
diff --git a/templates/clear/ipv6/neighbors/address/node.tag/node.def b/templates/clear/ipv6/neighbors/address/node.tag/node.def
new file mode 100644
index 0000000..4aaec8a
--- /dev/null
+++ b/templates/clear/ipv6/neighbors/address/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Clear ND cache for an IPv6 address
+allowed: echo -n '<h:h:h:h:h:h:h:h>'
+run: sudo /sbin/ip -f inet6 neigh flush to "$5"