Mapping Cisco SAN Switch Ports to Zone Names
This morning I found myself needing to know what server was attached to each and every port on a large Cisco SAN Fabric. This can be quite the effort if you don’t have excellent documentation. You can query the fabric login (flogi) database, but that will map a fiber channel port to a wwn. That’s a start, but unless you have a map of wwn to server, it’s largely ineffective at proving human consumable information. mds9513# show flogi database ——————————————————————————– INTERFACE VSAN FCID PORT NAME NODE NAME ——————————————————————————– fc1/1 301 0x8a00b0 50:00:09:72:08:3a:81:a7 50:00:09:72:06:3a:80:02 fc1/2 301 0x8a00cb 50:00:14:31:90:6a:79:12 50:00:14:40:45:32:6a:75 fc1/3 301 0x8a00ca 50:00:14:31:90:6a:54:12 50:00:14:40:45:32:6a:54 fc1/6 301 0x8a00cd 50:00:14:31:80:6a:54:02 50:00:14:40:45:22:6a:54 fc1/12 501 0xa50001 50:00:09:72:08:3a:61:e4 50:00:09:72:06:3a:82:00 If you want to see which zones map to the wwpn, you can use the “show zone member <wwn>” command to see a list of all zones associated with the specified wwn: mds9513# show zone member pwwn 10:00:00:00:c7:ca:3b:b8 pwwn 10:00:00:00:c7:ca:3b:b8 vsan 95 zoneRead More →