summaryrefslogtreecommitdiff
path: root/templates/show/ip/route/cache
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/ip/route/cache')
-rw-r--r--templates/show/ip/route/cache/node.def2
-rw-r--r--templates/show/ip/route/cache/node.tag/node.def3
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/show/ip/route/cache/node.def b/templates/show/ip/route/cache/node.def
new file mode 100644
index 0000000..098e724
--- /dev/null
+++ b/templates/show/ip/route/cache/node.def
@@ -0,0 +1,2 @@
+help: Show kernel route cache
+run: ip -s route list cache
diff --git a/templates/show/ip/route/cache/node.tag/node.def b/templates/show/ip/route/cache/node.tag/node.def
new file mode 100644
index 0000000..85fe4e6
--- /dev/null
+++ b/templates/show/ip/route/cache/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Show kernel route cache for a given route
+allowed: echo -n '<network>'
+run: ip -s route list cache $5