04-16-2012 07:04 AM
Here is some start :
for ((SWport=0; SWport<=$SWlastport; SWport++)); do $FOScmd $SWblade/$SWport; done
And some possible options for the var's :
# SWblade = 1 ... 4 <> 9 ... 12
# SWlastport = 7 ... 15 ... 31 ... 47
# FOScmd = portshow / portcfg...
04-17-2012 10:17 PM
Try to use the range option in most of the port cfg commands.
An other way is that you can create a Execl sheet with all command you want to run and copy these commands in a putty session.