From 6eab2bc4ed73907bfe82b16d176b98ada99d5293 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 5 Nov 2008 12:27:15 -0800 Subject: Rename "show arp6" to "show ipv6 neighbors". Rename "clear arp6" to "clear ipv6 neighbors". --- templates/clear/arp6/address/node.def | 1 - templates/clear/arp6/address/node.tag/node.def | 3 --- templates/clear/arp6/interface/node.def | 1 - templates/clear/arp6/interface/node.tag/node.def | 5 ----- templates/clear/arp6/node.def | 1 - templates/clear/ipv6/neighbors/address/node.def | 1 + templates/clear/ipv6/neighbors/address/node.tag/node.def | 3 +++ templates/clear/ipv6/neighbors/interface/node.def | 1 + templates/clear/ipv6/neighbors/interface/node.tag/node.def | 5 +++++ templates/clear/ipv6/neighbors/node.def | 1 + 10 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 templates/clear/arp6/address/node.def delete mode 100644 templates/clear/arp6/address/node.tag/node.def delete mode 100644 templates/clear/arp6/interface/node.def delete mode 100644 templates/clear/arp6/interface/node.tag/node.def delete mode 100644 templates/clear/arp6/node.def create mode 100644 templates/clear/ipv6/neighbors/address/node.def create mode 100644 templates/clear/ipv6/neighbors/address/node.tag/node.def create mode 100644 templates/clear/ipv6/neighbors/interface/node.def create mode 100644 templates/clear/ipv6/neighbors/interface/node.tag/node.def create mode 100644 templates/clear/ipv6/neighbors/node.def (limited to 'templates/clear') diff --git a/templates/clear/arp6/address/node.def b/templates/clear/arp6/address/node.def deleted file mode 100644 index dc27e11..0000000 --- a/templates/clear/arp6/address/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Clear ARP cache for an IPv6 address diff --git a/templates/clear/arp6/address/node.tag/node.def b/templates/clear/arp6/address/node.tag/node.def deleted file mode 100644 index fe94cdd..0000000 --- a/templates/clear/arp6/address/node.tag/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Clear ARP cache for an IPv6 address -allowed: echo -n '' -run: sudo /sbin/ip -f inet6 neigh flush to "$4" diff --git a/templates/clear/arp6/interface/node.def b/templates/clear/arp6/interface/node.def deleted file mode 100644 index 306b999..0000000 --- a/templates/clear/arp6/interface/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Clear IPv6 ARP cache for interface diff --git a/templates/clear/arp6/interface/node.tag/node.def b/templates/clear/arp6/interface/node.tag/node.def deleted file mode 100644 index 2766b17..0000000 --- a/templates/clear/arp6/interface/node.tag/node.def +++ /dev/null @@ -1,5 +0,0 @@ -help: Clear IPv6 ARP cache for interface -allowed: local -a array ; - array=( /sys/class/net/{eth,vmnet}* ) ; - echo -n ${array[@]##*/} -run: sudo /sbin/ip -f inet6 neigh flush dev "$4" diff --git a/templates/clear/arp6/node.def b/templates/clear/arp6/node.def deleted file mode 100644 index e4d5ff3..0000000 --- a/templates/clear/arp6/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Clear IPv6 Address Resolution Protocol (ARP) cache diff --git a/templates/clear/ipv6/neighbors/address/node.def b/templates/clear/ipv6/neighbors/address/node.def new file mode 100644 index 0000000..ffb7376 --- /dev/null +++ b/templates/clear/ipv6/neighbors/address/node.def @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..4aaec8a --- /dev/null +++ b/templates/clear/ipv6/neighbors/address/node.tag/node.def @@ -0,0 +1,3 @@ +help: Clear ND cache for an IPv6 address +allowed: echo -n '' +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 new file mode 100644 index 0000000..db4adaf --- /dev/null +++ b/templates/clear/ipv6/neighbors/interface/node.def @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..9bc879a --- /dev/null +++ b/templates/clear/ipv6/neighbors/interface/node.tag/node.def @@ -0,0 +1,5 @@ +help: Clear IPv6 ND cache for interface +allowed: local -a array ; + array=( /sys/class/net/{eth,vmnet}* ) ; + echo -n ${array[@]##*/} +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 new file mode 100644 index 0000000..cde35f9 --- /dev/null +++ b/templates/clear/ipv6/neighbors/node.def @@ -0,0 +1 @@ +help: Clear IPv6 Neighbor Discovery (ND) cache -- cgit v1.2.3