cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3209
Views
5
Helpful
1
Replies

how to identify that a host is connected to which particular edge switch

dineshjaisankar
Level 1
Level 1

Hello Guys
Can anybody explain how to identify that a host is connected to which particular edge switch and port in a Cisco SAN Fabric ??

1 Accepted Solution

Accepted Solutions

jihicks
Cisco Employee
Cisco Employee

Hi,

Hopefully you know the host PWWN. 

If the edge switch is not in NPV mode, get the FCID from the output of "show fcns database"

The answer may also be as simple as finding this entry in the "show fcns database detail".

If not, once you have the fcid, the first byte of the fcid is the switch domain ID. With the combination of "show fcdomain domain-list vsan xx" "show fcs ie" you should be able to determine what you need.

If the edge switch is in NPV and registers as a NPV device ( Cisco switches do ), then the FCID will be assigned by the core switch upstream of that edge switch.   You can see this from a "show flogi database".  Find the PWWN here.  There will likely be multiple entries for the port where the host is connected.  Once you find the port where the NPV switch is attached.  The first flogi entry on that port will be the switch WWN.  Get the FCID for the switch and then find the entry for this FCID in the "show fcns database detail", this will give you the switch information.

 

Best regards,

Jim

View solution in original post

1 Reply 1

jihicks
Cisco Employee
Cisco Employee

Hi,

Hopefully you know the host PWWN. 

If the edge switch is not in NPV mode, get the FCID from the output of "show fcns database"

The answer may also be as simple as finding this entry in the "show fcns database detail".

If not, once you have the fcid, the first byte of the fcid is the switch domain ID. With the combination of "show fcdomain domain-list vsan xx" "show fcs ie" you should be able to determine what you need.

If the edge switch is in NPV and registers as a NPV device ( Cisco switches do ), then the FCID will be assigned by the core switch upstream of that edge switch.   You can see this from a "show flogi database".  Find the PWWN here.  There will likely be multiple entries for the port where the host is connected.  Once you find the port where the NPV switch is attached.  The first flogi entry on that port will be the switch WWN.  Get the FCID for the switch and then find the entry for this FCID in the "show fcns database detail", this will give you the switch information.

 

Best regards,

Jim