X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=snmp-mac-port;h=8ddf0436d8cfc5504e1118c6b943db193573b4f8;hb=HEAD;hp=5ea2fafd27ab14a0beb92e6cbb395477271f6f2a;hpb=f1352c38c5d9c8d8a630a6ad2c2d438b0ccfb491;p=dell-switch diff --git a/snmp-mac-port b/snmp-mac-port index 5ea2faf..7c08066 100755 --- a/snmp-mac-port +++ b/snmp-mac-port @@ -36,6 +36,9 @@ if [ ! -z "$1" ] ; then snmp_walk $1 fi +# fetch all switches in parallel +./sw-names | parallel -j 70 $0 +exit 0 ./sw-names | while read ip do