X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=README;h=90d58c3c758e14f039b680acc15900383740de1c;hb=a3e9e6f65fd50e3c6cbafef639c41ded109afb70;hp=afb71eb9a11654d3ba7b0a44f56b0c83ef1b8a64;hpb=a15f54b1b5714dd8dbd75109e27d3eb3e17839cf;p=dell-switch diff --git a/README b/README index afb71eb..90d58c3 100644 --- a/README +++ b/README @@ -12,3 +12,18 @@ that by setting NO_LOG enviroment variable like this: grep -A 1 sw-lib /etc/munin/munin.conf | grep 10.20 | awk '{ print $2 }' \ | NO_LOG=1 xargs -i ./dell-switch.pl 'snmp-server community public-or-not ro view Default' 'exit' 'copy running-config startup-config' + + +To use fans script first pull show system from all switches: + +./ips | xargs -i ./dell-switch.pl {} "show system" + + +Backup switch configuration to tftp server: + +./ips 1,2 | awk '{ print "./dell-switch.pl "$1" \"copy startup-config tftp://10.20.0.253/backups/"$2".config\"" }' | NO_LOG=1 sh -x + + +To use snmp* utils, create snmp.conf with: + +COMMUNITY=my-comminity-or-public