Fibre Channel (SAN)

List SAN Profile

by aloftus on ‎12-18-2003 10:20 PM - edited on ‎10-30-2013 01:49 PM by bcm1 (444 Views)

DETAILED DESCRIPTION 

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.

REQUIREMENTS

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

SAMPLE OUTPUT:
<pre>
silk128_1_sw1 59 4/11 21:00:00:e0:8b:01:1e:85 sn28
silk128_1_sw1 60 4/12 21:00:00:e0:8b:05:e2:bb sn32
silk128_1_sw1 61 4/13 24:00:00:01:ff:01:02:23 SDD3_2_4
silk168 04 1/04 21:00:00:e0:8b:06:b0:50 mtux13
silk168 05 1/05 21:00:00:e0:8b:05:21:f4 mtux12
silk168 06 1/06 21:00:00:e0:8b:05:0e:f4 mtux11

</pre>

 


NOTE: This contribution was migrated by Brocade from the former Brocade Connect community on March 13, 2008, on behalf of the author.

Contributors