summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/arp6/node.def2
-rw-r--r--templates/show/ipv6/route/cache/node.def2
-rw-r--r--templates/show/ipv6/route/cache/node.tag/node.def3
-rw-r--r--templates/show/ipv6/route/forward/node.def2
-rw-r--r--templates/show/ipv6/route/forward/node.tag/node.def3
5 files changed, 12 insertions, 0 deletions
diff --git a/templates/show/arp6/node.def b/templates/show/arp6/node.def
new file mode 100644
index 0000000..c45f295
--- /dev/null
+++ b/templates/show/arp6/node.def
@@ -0,0 +1,2 @@
+help: Show IPv6 Address Resolution Protocol (ARP) information
+run: /bin/ip -f inet6 neigh list
diff --git a/templates/show/ipv6/route/cache/node.def b/templates/show/ipv6/route/cache/node.def
new file mode 100644
index 0000000..45604e8
--- /dev/null
+++ b/templates/show/ipv6/route/cache/node.def
@@ -0,0 +1,2 @@
+help: Show kernel IPv6 route cache
+run: ip -s -f inet6 route list cache
diff --git a/templates/show/ipv6/route/cache/node.tag/node.def b/templates/show/ipv6/route/cache/node.tag/node.def
new file mode 100644
index 0000000..8386f1f
--- /dev/null
+++ b/templates/show/ipv6/route/cache/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Show 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: ip -s -f inet6 route list cache $5
diff --git a/templates/show/ipv6/route/forward/node.def b/templates/show/ipv6/route/forward/node.def
new file mode 100644
index 0000000..cad0bb9
--- /dev/null
+++ b/templates/show/ipv6/route/forward/node.def
@@ -0,0 +1,2 @@
+help: Show kernel IPv6 route table
+run: ip -f inet6 route list
diff --git a/templates/show/ipv6/route/forward/node.tag/node.def b/templates/show/ipv6/route/forward/node.tag/node.def
new file mode 100644
index 0000000..942a4f1
--- /dev/null
+++ b/templates/show/ipv6/route/forward/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Show kernel IPv6 route table for a given route
+allowed: echo -n '<x.x.x.x | x.x.x.x/x>'
+run: ip -s -f inet6 route list $5