summaryrefslogtreecommitdiff
path: root/templates/clear/ipv6
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-07-29 10:24:29 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-07-29 10:24:29 -0700
commit54d18d355f8a0cbb02c82dff616b8588a5aa80d0 (patch)
treef213f28822d683b6b3bd639c569461b9b1e6798c /templates/clear/ipv6
parent9fa05e4f5b97f604cf610b29626a1a41ab1a044c (diff)
downloadvyatta-op-54d18d355f8a0cbb02c82dff616b8588a5aa80d0.tar.gz
vyatta-op-54d18d355f8a0cbb02c82dff616b8588a5aa80d0.zip
Add some ipv6 op mode commands.
Diffstat (limited to 'templates/clear/ipv6')
-rw-r--r--templates/clear/ipv6/route/cache/node.def2
-rw-r--r--templates/clear/ipv6/route/cache/node.tag/node.def3
-rw-r--r--templates/clear/ipv6/route/node.def1
3 files changed, 6 insertions, 0 deletions
diff --git a/templates/clear/ipv6/route/cache/node.def b/templates/clear/ipv6/route/cache/node.def
new file mode 100644
index 0000000..7dee140
--- /dev/null
+++ b/templates/clear/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/clear/ipv6/route/cache/node.tag/node.def b/templates/clear/ipv6/route/cache/node.tag/node.def
new file mode 100644
index 0000000..af6a3db
--- /dev/null
+++ b/templates/clear/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/clear/ipv6/route/node.def b/templates/clear/ipv6/route/node.def
new file mode 100644
index 0000000..bb1b049
--- /dev/null
+++ b/templates/clear/ipv6/route/node.def
@@ -0,0 +1 @@
+help: Clear IPv6 route