summaryrefslogtreecommitdiff
path: root/templates/reset/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'templates/reset/ipv6')
-rw-r--r--templates/reset/ipv6/neighbors/address/node.def1
-rw-r--r--templates/reset/ipv6/neighbors/address/node.tag/node.def3
-rw-r--r--templates/reset/ipv6/neighbors/interface/node.def1
-rw-r--r--templates/reset/ipv6/neighbors/interface/node.tag/node.def3
-rw-r--r--templates/reset/ipv6/neighbors/node.def1
-rw-r--r--templates/reset/ipv6/node.def1
-rw-r--r--templates/reset/ipv6/route/cache/node.def2
-rw-r--r--templates/reset/ipv6/route/cache/node.tag/node.def3
-rw-r--r--templates/reset/ipv6/route/node.def1
9 files changed, 16 insertions, 0 deletions
diff --git a/templates/reset/ipv6/neighbors/address/node.def b/templates/reset/ipv6/neighbors/address/node.def
new file mode 100644
index 0000000..e163359
--- /dev/null
+++ b/templates/reset/ipv6/neighbors/address/node.def
@@ -0,0 +1 @@
+help: Reset ND cache for an IPv6 address
diff --git a/templates/reset/ipv6/neighbors/address/node.tag/node.def b/templates/reset/ipv6/neighbors/address/node.tag/node.def
new file mode 100644
index 0000000..4aaec8a
--- /dev/null
+++ b/templates/reset/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"
diff --git a/templates/reset/ipv6/neighbors/interface/node.def b/templates/reset/ipv6/neighbors/interface/node.def
new file mode 100644
index 0000000..c455aa1
--- /dev/null
+++ b/templates/reset/ipv6/neighbors/interface/node.def
@@ -0,0 +1 @@
+help: Reset IPv6 ND cache for interface
diff --git a/templates/reset/ipv6/neighbors/interface/node.tag/node.def b/templates/reset/ipv6/neighbors/interface/node.tag/node.def
new file mode 100644
index 0000000..46a89a9
--- /dev/null
+++ b/templates/reset/ipv6/neighbors/interface/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Reset IPv6 ND cache for interface
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all
+run: sudo /sbin/ip -f inet6 neigh flush dev "$5"
diff --git a/templates/reset/ipv6/neighbors/node.def b/templates/reset/ipv6/neighbors/node.def
new file mode 100644
index 0000000..138725d
--- /dev/null
+++ b/templates/reset/ipv6/neighbors/node.def
@@ -0,0 +1 @@
+help: Reset IPv6 Neighbor Discovery (ND) cache
diff --git a/templates/reset/ipv6/node.def b/templates/reset/ipv6/node.def
new file mode 100644
index 0000000..5c80950
--- /dev/null
+++ b/templates/reset/ipv6/node.def
@@ -0,0 +1 @@
+help: Reset Internet Protocol version 6 (IPv6) parameters
diff --git a/templates/reset/ipv6/route/cache/node.def b/templates/reset/ipv6/route/cache/node.def
new file mode 100644
index 0000000..7dee140
--- /dev/null
+++ b/templates/reset/ipv6/route/cache/node.def
@@ -0,0 +1,2 @@
+help: Flush the kernel IPv6 route cache
+run: sudo /sbin/ip -f inet6 route flush cache
diff --git a/templates/reset/ipv6/route/cache/node.tag/node.def b/templates/reset/ipv6/route/cache/node.tag/node.def
new file mode 100644
index 0000000..af6a3db
--- /dev/null
+++ b/templates/reset/ipv6/route/cache/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Flush the kernel IPv6 route cache for a given route
+allowed: echo -n '<h:h:h:h:h:h:h:h | h:h:h:h:h:h:h:h/x>'
+run: sudo /sbin/ip -f inet6 route flush cache "$5"
diff --git a/templates/reset/ipv6/route/node.def b/templates/reset/ipv6/route/node.def
new file mode 100644
index 0000000..72c83a8
--- /dev/null
+++ b/templates/reset/ipv6/route/node.def
@@ -0,0 +1 @@
+help: Reset IPv6 route