summaryrefslogtreecommitdiff
path: root/templates/clear
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-08-18 18:25:29 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:28 -0500
commit20f811096765700c5eff5fd86c29be3bd53f0d7b (patch)
tree555f5c836656fe1ec6b323b9b29f7120e4974130 /templates/clear
parent48c7c6e6e2cf737158822191adbc55924de1137e (diff)
downloadvyatta-op-20f811096765700c5eff5fd86c29be3bd53f0d7b.tar.gz
vyatta-op-20f811096765700c5eff5fd86c29be3bd53f0d7b.zip
Move some more commands
'clear ip route' to 'reset ip route' 'clear ipv6 route' to 'reset ipv6 route' 'clear ipv6 neighbors' to 'reset ipv6 route' Modified some telnet help text (cherry picked from commit 8d494099bcbeda63eabe8ef268dbc8838a17ffe9)
Diffstat (limited to 'templates/clear')
-rw-r--r--templates/clear/ip/route/cache/node.def2
-rw-r--r--templates/clear/ip/route/cache/node.tag/node.def3
-rw-r--r--templates/clear/ip/route/node.def1
-rw-r--r--templates/clear/ipv6/neighbors/address/node.def1
-rw-r--r--templates/clear/ipv6/neighbors/address/node.tag/node.def3
-rw-r--r--templates/clear/ipv6/neighbors/interface/node.def1
-rw-r--r--templates/clear/ipv6/neighbors/interface/node.tag/node.def3
-rw-r--r--templates/clear/ipv6/neighbors/node.def1
-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
11 files changed, 0 insertions, 21 deletions
diff --git a/templates/clear/ip/route/cache/node.def b/templates/clear/ip/route/cache/node.def
deleted file mode 100644
index b97e0c9..0000000
--- a/templates/clear/ip/route/cache/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Flush the kernel route cache
-run: sudo /sbin/ip route flush cache
diff --git a/templates/clear/ip/route/cache/node.tag/node.def b/templates/clear/ip/route/cache/node.tag/node.def
deleted file mode 100644
index 4af1915..0000000
--- a/templates/clear/ip/route/cache/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Flush the kernel route cache for a given route
-allowed: echo -n '<x.x.x.x | x.x.x.x/x>'
-run: sudo /sbin/ip route flush cache "$5"
diff --git a/templates/clear/ip/route/node.def b/templates/clear/ip/route/node.def
deleted file mode 100644
index 9b5753b..0000000
--- a/templates/clear/ip/route/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear IP route
diff --git a/templates/clear/ipv6/neighbors/address/node.def b/templates/clear/ipv6/neighbors/address/node.def
deleted file mode 100644
index ffb7376..0000000
--- a/templates/clear/ipv6/neighbors/address/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear ND cache for an IPv6 address
diff --git a/templates/clear/ipv6/neighbors/address/node.tag/node.def b/templates/clear/ipv6/neighbors/address/node.tag/node.def
deleted file mode 100644
index 4aaec8a..0000000
--- a/templates/clear/ipv6/neighbors/address/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-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/clear/ipv6/neighbors/interface/node.def b/templates/clear/ipv6/neighbors/interface/node.def
deleted file mode 100644
index db4adaf..0000000
--- a/templates/clear/ipv6/neighbors/interface/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear IPv6 ND cache for interface
diff --git a/templates/clear/ipv6/neighbors/interface/node.tag/node.def b/templates/clear/ipv6/neighbors/interface/node.tag/node.def
deleted file mode 100644
index 20cb549..0000000
--- a/templates/clear/ipv6/neighbors/interface/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Clear 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/clear/ipv6/neighbors/node.def b/templates/clear/ipv6/neighbors/node.def
deleted file mode 100644
index cde35f9..0000000
--- a/templates/clear/ipv6/neighbors/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear IPv6 Neighbor Discovery (ND) cache
diff --git a/templates/clear/ipv6/route/cache/node.def b/templates/clear/ipv6/route/cache/node.def
deleted file mode 100644
index 7dee140..0000000
--- a/templates/clear/ipv6/route/cache/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-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
deleted file mode 100644
index af6a3db..0000000
--- a/templates/clear/ipv6/route/cache/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-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
deleted file mode 100644
index bb1b049..0000000
--- a/templates/clear/ipv6/route/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear IPv6 route