diff options
Diffstat (limited to 'templates/clear/ipv6/route/cache')
-rw-r--r-- | templates/clear/ipv6/route/cache/node.def | 2 | ||||
-rw-r--r-- | templates/clear/ipv6/route/cache/node.tag/node.def | 3 |
2 files changed, 5 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" |