diff options
Diffstat (limited to 'templates/clear')
17 files changed, 18 insertions, 18 deletions
diff --git a/templates/clear/arp/address/node.def b/templates/clear/arp/address/node.def index 149cf76..efe6f10 100644 --- a/templates/clear/arp/address/node.def +++ b/templates/clear/arp/address/node.def @@ -1 +1 @@ -help: Clear ARP cache for address +help: Clear ARP cache for an IPv4 address diff --git a/templates/clear/arp/address/node.tag/node.def b/templates/clear/arp/address/node.tag/node.def index 23fc5bc..2c523ef 100644 --- a/templates/clear/arp/address/node.tag/node.def +++ b/templates/clear/arp/address/node.tag/node.def @@ -1,3 +1,3 @@ -help: Clear ARP cache for address -allowed: echo -n '<ip_address>' +help: Clear ARP cache for an IPv4 address +allowed: echo -n '<x.x.x.x>' run: sudo /sbin/ip neigh flush to "$4" diff --git a/templates/clear/arp/node.def b/templates/clear/arp/node.def index 08b3f7a..394a9f0 100644 --- a/templates/clear/arp/node.def +++ b/templates/clear/arp/node.def @@ -1 +1 @@ -help: Clear Address Resolution Protocol cache +help: Clear Address Resolution Protocol (ARP) cache diff --git a/templates/clear/dhcp/client/node.def b/templates/clear/dhcp/client/node.def index d8066da..1c658f0 100644 --- a/templates/clear/dhcp/client/node.def +++ b/templates/clear/dhcp/client/node.def @@ -1 +1 @@ -help: Clear dhcp client information +help: Clear DHCP client information diff --git a/templates/clear/dhcp/client/process/node.def b/templates/clear/dhcp/client/process/node.def index 50e52ff..c83dace 100644 --- a/templates/clear/dhcp/client/process/node.def +++ b/templates/clear/dhcp/client/process/node.def @@ -1,2 +1,2 @@ -help: Restart the dhcp client process +help: Restart the DHCP client process run: sudo ${vyatta_bindir}/sudo-users/vyatta-interfaces.pl --restart-dhclient diff --git a/templates/clear/interfaces/bridge/node.tag/counters/node.def b/templates/clear/interfaces/bridge/node.tag/counters/node.def index ba3199b..8b2c6b3 100644 --- a/templates/clear/interfaces/bridge/node.tag/counters/node.def +++ b/templates/clear/interfaces/bridge/node.tag/counters/node.def @@ -1,2 +1,2 @@ -help: Clear interface counters for a given interface +help: Clear interface counters for a given bridge interface run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4" diff --git a/templates/clear/interfaces/bridge/node.tag/node.def b/templates/clear/interfaces/bridge/node.tag/node.def index 4b6256e..e73a82d 100644 --- a/templates/clear/interfaces/bridge/node.tag/node.def +++ b/templates/clear/interfaces/bridge/node.tag/node.def @@ -1,4 +1,4 @@ -help: Clear interface information for a given interface +help: Clear interface information for a given bridge interface allowed: local -a array ; array=( /sys/class/net/br* ) ; echo -n ${array[@]##*/} diff --git a/templates/clear/interfaces/ethernet/counters/node.def b/templates/clear/interfaces/ethernet/counters/node.def index 85a02d5..d722d69 100644 --- a/templates/clear/interfaces/ethernet/counters/node.def +++ b/templates/clear/interfaces/ethernet/counters/node.def @@ -1,2 +1,2 @@ -help: Clear all Ethernet interface counters +help: Clear all ethernet interface counters run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3" diff --git a/templates/clear/interfaces/ethernet/node.def b/templates/clear/interfaces/ethernet/node.def index 3e6f0dc..eda1665 100644 --- a/templates/clear/interfaces/ethernet/node.def +++ b/templates/clear/interfaces/ethernet/node.def @@ -1 +1 @@ -help: Clear Ethernet interface information +help: Clear ethernet interface information diff --git a/templates/clear/interfaces/ethernet/node.tag/counters/node.def b/templates/clear/interfaces/ethernet/node.tag/counters/node.def index ba3199b..467a084 100644 --- a/templates/clear/interfaces/ethernet/node.tag/counters/node.def +++ b/templates/clear/interfaces/ethernet/node.tag/counters/node.def @@ -1,2 +1,2 @@ -help: Clear interface counters for a given interface +help: Clear interface counters for a given ethernet interface run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4" diff --git a/templates/clear/interfaces/ethernet/node.tag/node.def b/templates/clear/interfaces/ethernet/node.tag/node.def index 4f39ebf..17e07e1 100644 --- a/templates/clear/interfaces/ethernet/node.tag/node.def +++ b/templates/clear/interfaces/ethernet/node.tag/node.def @@ -1,4 +1,4 @@ -help: Clear interface information for a given interface +help: Clear interface information for a given ethernet interface allowed: local -a array ; array=( /sys/class/net/eth* ) ; echo -n ${array[@]##*/} diff --git a/templates/clear/interfaces/loopback/node.tag/counters/node.def b/templates/clear/interfaces/loopback/node.tag/counters/node.def index ba3199b..34c895c 100644 --- a/templates/clear/interfaces/loopback/node.tag/counters/node.def +++ b/templates/clear/interfaces/loopback/node.tag/counters/node.def @@ -1,2 +1,2 @@ -help: Clear interface counters for a given interface +help: Clear interface counters for a given loopback interface run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4" diff --git a/templates/clear/interfaces/loopback/node.tag/node.def b/templates/clear/interfaces/loopback/node.tag/node.def index cfefa98..6059e8c 100644 --- a/templates/clear/interfaces/loopback/node.tag/node.def +++ b/templates/clear/interfaces/loopback/node.tag/node.def @@ -1,4 +1,4 @@ -help: Clear interface counters for a given interface +help: Clear interface counters for a given loopback interface allowed: local -a array ; array=( /sys/class/net/lo* ) ; echo -n ${array[@]##*/} diff --git a/templates/clear/interfaces/tunnel/node.tag/counters/node.def b/templates/clear/interfaces/tunnel/node.tag/counters/node.def index ba3199b..3b00df5 100644 --- a/templates/clear/interfaces/tunnel/node.tag/counters/node.def +++ b/templates/clear/interfaces/tunnel/node.tag/counters/node.def @@ -1,2 +1,2 @@ -help: Clear interface counters for a given interface +help: Clear interface counters for a given tunnel interface run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4" diff --git a/templates/clear/interfaces/tunnel/node.tag/node.def b/templates/clear/interfaces/tunnel/node.tag/node.def index cf85a2c..3452c92 100644 --- a/templates/clear/interfaces/tunnel/node.tag/node.def +++ b/templates/clear/interfaces/tunnel/node.tag/node.def @@ -1,4 +1,4 @@ -help: Clear interface information for a given interface +help: Clear interface information for a given tunnel interface allowed: local -a array ; array=( /sys/class/net/tun* ) ; echo -n ${array[@]##*/} diff --git a/templates/clear/ip/route/cache/node.tag/node.def b/templates/clear/ip/route/cache/node.tag/node.def index 97f7fc3..4af1915 100644 --- a/templates/clear/ip/route/cache/node.tag/node.def +++ b/templates/clear/ip/route/cache/node.tag/node.def @@ -1,3 +1,3 @@ help: Flush the kernel route cache for a given route -allowed: echo -n '<network>' +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/node.def b/templates/clear/node.def index aa60d4f..18cca25 100644 --- a/templates/clear/node.def +++ b/templates/clear/node.def @@ -1 +1 @@ -help: Clear PROTOCOL statistics or status +help: Clear system information |