{"id":1141,"date":"2013-06-21T13:35:11","date_gmt":"2013-06-21T12:35:11","guid":{"rendered":"http:\/\/www.kozeniauskas.com\/itblog\/?p=1141"},"modified":"2013-06-21T14:21:40","modified_gmt":"2013-06-21T13:21:40","slug":"mds-how-to-identify-what-is-connected-to-mds-on-the-other-side-of-the-cable","status":"publish","type":"post","link":"http:\/\/www.kozeniauskas.com\/itblog\/2013\/06\/21\/mds-how-to-identify-what-is-connected-to-mds-on-the-other-side-of-the-cable\/","title":{"rendered":"MDS: How to identify what is connected to MDS on the other side of the cable"},"content":{"rendered":"<p>In ideal world each port configured on any device would have \u00a0description on it stating what it is connected to, but that it is not always the case and sometime the cables migh have been moved but descriptions left the same.<br \/>\nTo identify what is at the other side of the cable of Cisco MDS switch you can run the following command:<\/p>\n<p><em>show fcns database detail vsan &lt;vsan id&gt;<br \/>\n<\/em>This will show all the ports for the vsan. Also you can put a range of vsans. Here are couple examples of the output.<\/p>\n<pre>------------------------\r\n VSAN:11 FCID:0x020001\r\n ------------------------\r\n port-wwn (vendor) :20:43:00:0d:ec:b4:dc:80 (Cisco)\r\n node-wwn :20:0b:00:0d:ec:b4:dc:81\r\n class :3\r\n node-ip-addr :192.168.104.32\r\n ipa :ff ff ff ff ff ff ff ff\r\n fc4-types:fc4_features :npv\r\n symbolic-port-name :<span style=\"color: #ff0000;\">fi6120-B:fc2\/3 \u00a0 &lt;== connected to UCS Fabric interconnect port fc2\/3<\/span>\r\n symbolic-node-name :fi6120-B\r\n port-type :N\r\n port-ip-addr :0.0.0.0\r\n fabric-port-wwn :20:0b:00:0d:ec:c2:62:c0\r\n hard-addr :0x000000\r\n permanent-port-wwn (vendor) :20:43:00:0d:ec:b4:dc:80 (Cisco)\r\n Connected Interface :<span style=\"color: #ff0000;\">fc1\/11\u00a0&lt;==MDS fc port<\/span>\r\n Switch Name (IP address) :mds9509B (192.168.101.21)<\/pre>\n<pre>------------------------\r\n VSAN:11 FCID:0x020006\r\n ------------------------\r\n port-wwn (vendor) :21:00:00:24:ff:32:bd:5f\r\n node-wwn :20:00:00:24:ff:32:bd:5f\r\n class :3\r\n node-ip-addr :0.0.0.0\r\n ipa :ff ff ff ff ff ff ff ff\r\n fc4-types:fc4_features :scsi-fcp:init\r\n symbolic-port-name :\r\n symbolic-node-name :<span style=\"color: #ff0000;\">QLE2462 FW:v5.06.02 DVR:v911.k1.1-19vmw \u00a0&lt;== connected directly to Qlogic HBA that is running VMware drivers\u00a0v911.k1.1-19vmw<\/span>\r\n port-type :N\r\n port-ip-addr :0.0.0.0\r\n fabric-port-wwn :20:4d:00:0d:ec:c2:62:c0\r\n hard-addr :0x000000\r\n permanent-port-wwn (vendor) :21:00:00:24:ff:32:bd:5f\r\n Connected Interface :<span style=\"color: #ff0000;\">fc2\/13 &lt;==MDS fc port<\/span>\r\n Switch Name (IP address) :mds9509B (192.168.101.21)<\/pre>\n<pre>------------------------\r\n VSAN:11 FCID:0x02000b\r\n ------------------------\r\n port-wwn (vendor) :50:00:09:74:08:0e:79:5c (EMC)\r\n node-wwn :50:00:09:74:08:0e:78:00\r\n class :3\r\n node-ip-addr :0.0.0.0\r\n ipa :ff ff ff ff ff ff ff ff\r\n fc4-types:fc4_features :scsi-fcp:target 253\r\n symbolic-port-name :<span style=\"color: #ff0000;\">SYMMETRIX::000292600926::SAF- 8fA::FC::5876_159+::EMUL B80F0000 3F89624E 914B24 02.28.13 13:42 &lt;==Connected to EMC VMax array(code level 5876_159)\u00a0port 8fA \u00a0<\/span>\r\n symbolic-node-name :SYMMETRIX::000292600926::FC::<span style=\"color: #000000;\">5876_159+<\/span>\r\n port-type :N\r\n port-ip-addr :0.0.0.0\r\n fabric-port-wwn :20:42:00:0d:ec:c2:62:c0\r\n hard-addr :0x000000\r\n permanent-port-wwn (vendor) :50:00:09:74:08:0e:79:5c (EMC)\r\n Connected Interface :<span style=\"color: #ff0000;\">fc2\/2\u00a0\u00a0&lt;==MDS fc port<\/span>\r\n Switch Name (IP address) :mds9509B (192.168.101.21)<\/pre>\n<p>If you wan to look at specific port only then first you need to get FCID for this port:<br \/>\n<em>show interface fc2\/2<\/em><\/p>\n<pre>mds9509B# sh interface fc2\/2\r\n fc2\/2 is up\r\n Port description is Vmax_D9\/F0\r\n Hardware is Fibre Channel, SFP is short wave laser w\/o OFC (SN)\r\n Port WWN is 20:42:00:0d:ec:c2:62:c0\r\n Admin port mode is F, trunk mode is off\r\n snmp link state traps are enabled\r\n Port mode is F, <span style=\"color: #ff0000;\">FCID is 0x02000b &lt;== FCID<\/span>\r\n Port vsan is 11\r\n Speed is 4 Gbps\r\n Rate mode is shared\r\n Transmit B2B Credit is 20\r\n Receive B2B Credit is 16\r\n Receive data field Size is 2112\r\n Beacon is turned off\r\n 5 minutes input rate 0 bits\/sec, 0 bytes\/sec, 0 frames\/sec\r\n 5 minutes output rate 0 bits\/sec, 0 bytes\/sec, 0 frames\/sec\r\n 77 frames input, 5008 bytes\r\n 0 discards, 0 errors\r\n 0 CRC, 0 unknown class\r\n 0 too long, 0 too short\r\n 61 frames output, 3828 bytes\r\n 0 discards, 0 errors\r\n 9 input OLS, 9 LRR, 0 NOS, 4 loop inits\r\n 9 output OLS, 9 LRR, 8 NOS, 7 loop inits\r\n 16 receive B2B credit remaining\r\n 20 transmit B2B credit remaining\r\n 20 low priority transmit B2B credit remaining\r\n Interface last changed at Wed May 1 19:10:57 2013<\/pre>\n<p>Now type:<br \/>\n<em>sh fcns database fcid &lt;fcid&gt; detail vsan &lt;vsan id&gt;<\/em><\/p>\n<p>This will give output for this specific port.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In ideal world each port configured on any device would have \u00a0description on it stating what it is connected to, but that it is not always the case and sometime the cables migh have been moved but descriptions left the same. To identify what is at the other side of the cable of Cisco MDS [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[380,467],"tags":[497,468,501,469],"_links":{"self":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/1141"}],"collection":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/comments?post=1141"}],"version-history":[{"count":3,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/1141\/revisions"}],"predecessor-version":[{"id":1143,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/1141\/revisions\/1143"}],"wp:attachment":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/media?parent=1141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/categories?post=1141"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/tags?post=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}