To register your Qlogic fiber HBAs installed in new Sun Microsystems 4200m2 systems running Solaris 10.5 on your SAN fabric, this is the command you need to extract the WWN:
# fcinfo hba-port HBA Port WWN: 210000e08b172b6f OS Device Name: /dev/cfg/c6 Manufacturer: QLogic Corp. Model: 375-3108-xx Firmware Version: 3.3.24 FCode/BIOS Version: N/A Type: N-port State: online Supported Speeds: 1Gb 2Gb Current Speed: 2Gb Node WWN: 200000e08b172b6f HBA Port WWN: 210100e08b372b6f OS Device Name: /dev/cfg/c7 Manufacturer: QLogic Corp. Model: 375-3108-xx Firmware Version: 3.3.24 FCode/BIOS Version: N/A Type: N-port State: online Supported Speeds: 1Gb 2Gb Current Speed: 2Gb Node WWN: 200100e08b372b6f
In case you were wondering.