For more details, please see ourCookie Policy.

Fibre Channel (SAN)

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: 5,540
Registered: ‎02-23-2004

Re: script for dcx ?

There are no script general available from brocade.

Not applicable
Posts: 1
Registered: ‎04-16-2012

Re: script for dcx ?

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

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.



Join the Broadcom Community

Get quick and easy access to valuable resources across the Broadcom Community Network.