Fibre Channel (SAN)

Reply
New Contributor
Posts: 2
Registered: ‎04-17-2011

script for dcx ?

Does anybody know where (if it exists) I can obtain a sample script for configure the ports on the DCX

Thank you

External Moderator
Posts: 4,973
Registered: ‎02-23-2004

Re: script for dcx ?

There are no script general available from brocade.

TechHelp24
N/A
Posts: 1
Registered: ‎04-16-2012

Re: script for dcx ?

Here is some start :

SWblade=1

SWlastport=47

FOScmd=portshow

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...

Super Contributor
Posts: 635
Registered: ‎04-12-2010

Re: script for dcx ?

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.

Regards,

Andreas

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.