List each switch port (in the entire SAN), the WWN of the remote device (N or NL port) and the alias associated with that remote WWN.
Operating System Tested on Solaris and WinXP
Interface PERL (tested with 5.6, but most any recent version will probably work)
Brocade Scripting Toolkit (STK1.1.1)
Fabric Operating System Should work on all supported. Tested on 2.6; 3.0; 3.1; 4.1
Other Aliases must have exactly 1 WWN association. This means that the Brocade zoning database (in the switches) must be defined such that each alias has one and only one WWN defined for it.
NOTES (INCLUDING LIMITATIONS)
+ Note change in the output format from previous version.
+ Does not report E-PORT's.
+ Does not handle JBOD's correctly (since there are several WWN's associated with a JBOD and all WWN's show up as connected on the same switch port). Only the last WWN will be listed in the output of the script.
Output format: switchname switchport blade/bladeport WWN alias