Thursday, August 16, 2012

How to find the HOST WWN in CISCO switch?

Assuming you know the pwwn of the HBA you are searching for, you can use the following steps to find the switch it is connected to:
 1) "show fcns database"  - find your pwwn in the output to detemine what FCID is assigned to the device, and note the VSAN.  Also, the first byte of the FCID will indicated the Domain ID of the switch the device is attached to.
 2) "show topology vsan <vsan number from step 1>" search for the switch with the domain id determined in step 1.
 The "show topology" output also includes the IP address of the mgmt port, so you can quickly ssh/telnet to the host switch and than verify that you've identified the right switch with the output of "show flogi database".

No comments:

Post a Comment