Hello Vladimir:
What drivers are you using on your Cent OS?
I think you want the Cent OS command and not the switch command. Is that right?
Not that you asked, but if you configured the cDOT LIFs before the fabric was ready, you might try using “admin down” and then “admin up” on the LIFS and then waiting.
However, all the switch information below is worth a long look because the Cisco switches can be a little different to work with than the Brocades. I don’t think you
specified.
—April
Hi Vladimir
Check this out:
f35> fcp topology show
Switches connected on adapter 1a:
Switch Name: vtme-svl-c5548-1
Switch Vendor: Cisco Systems, Inc.
Switch Release: 5.2(1)N1(1b)
Switch Domain: 219
Switch WWN: 23:e9:54:7f:ee:e9:19:81
Port Count: 9
Switches connected on adapter 1b:
Switch Name: vtme-svl-c5548-1
Switch Vendor: Cisco Systems, Inc.
Switch Release: 5.2(1)N1(1b)
Switch Domain: 155
Switch WWN: 23:e8:54:7f:ee:d9:9b:81
Port Count: 9
Switches connected on adapter 0d:
Switch Name: vmw_brcd2
Switch Vendor: Brocade Communications, Inc.
Switch Release: v6.4.1b
Switch Domain: 1
Switch WWN: 10:00:00:05:1e:35:27:04
Port Count: 32
Switches connected on adapter 0b:
Switch Name: vmw_brcd1
Switch Vendor: Brocade Communications, Inc.
Switch Release: v6.4.1b
Switch Domain: 1
Switch WWN: 10:00:00:05:1e:35:27:1a
Port Count: 32
You can also use -v and it will list info on attached devices. You can also specify a port.
f35> fcp topology show -v 0d
Switches connected on adapter 0d:
Switch Name: vmw_brcd2
Switch Vendor: Brocade Communications, Inc.
Switch Release: v6.4.1b
Switch Domain: 1
Switch WWN: 10:00:00:05:1e:35:27:04
Port Count: 32
Port Port WWPN State Type Attached WWPN Port ID
-----------------------------------------------------------------------------------
0 20:00:00:05:1e:35:27:04 Online F-Port 50:0a:09:81:89:5a:c5:a3 0x010000*
1 20:01:00:05:1e:35:27:04 Online F-Port 50:0a:09:84:88:86:6f:cd 0x010100
20:13:00:a0:98:3c:3e:4c 0x010101
20:07:00:a0:98:3c:3e:4c 0x010102*
2 20:02:00:05:1e:35:27:04 Online F-Port 21:01:00:e0:8b:bc:cd:c3 0x010200*
3 20:03:00:05:1e:35:27:04 Online F-Port 50:0a:09:84:88:56:6d:a5 0x010300
20:04:00:a0:98:3c:3e:4c 0x010301*
20:0d:00:a0:98:3c:3e:4c 0x010302
4 20:04:00:05:1e:35:27:04 Offline none -
5 20:05:00:05:1e:35:27:04 Online F-Port 50:0a:09:84:88:36:71:0c 0x010500
20:11:00:a0:98:3c:3e:4c 0x010501
20:06:00:a0:98:3c:3e:4c 0x010502*
6 20:06:00:05:1e:35:27:04 Online F-Port 21:01:00:1b:32:2f:96:5e 0x010600*
7 20:07:00:05:1e:35:27:04 Offline none -
<snip>
FCoE:
Switches connected on adapter 1b:
Switch Name: vtme-svl-c5548-1
Switch Vendor: Cisco Systems, Inc.
Switch Release: 5.2(1)N1(1b)
Switch Domain: 155
Switch WWN: 23:e8:54:7f:ee:d9:9b:81
Port Count: 9
Port Port WWPN State Type Attached WWPN Port ID
-----------------------------------------------------------------------------------
vfc5 20:04:54:7f:ee:d9:9b:bf Online TF-Port 21:00:00:c0:dd:1b:ca:79 0x9b0140
vfc6 20:05:54:7f:ee:d9:9b:bf Online TF-Port 21:00:00:c0:dd:1b:ca:9b 0x9b0160
vfc17 20:10:54:7f:ee:d9:9b:bf Online TF-Port 21:00:00:c0:dd:1b:ca:df 0x9b0000*
vfc18 20:11:54:7f:ee:d9:9b:bf Online TF-Port 21:00:00:c0:dd:1b:ca:89 0x9b0020*
vfc25 20:18:54:7f:ee:d9:9b:bf Online TF-Port 50:0a:09:82:88:36:71:0c 0x9b0240
20:1a:00:a0:98:3c:3e:4c 0x9b0044
20:0a:00:a0:98:3c:3e:4c 0x9b0041*
vfc26 20:19:54:7f:ee:d9:9b:bf Online TF-Port 50:0a:09:81:88:86:6f:cd 0x9b0060
20:1b:00:a0:98:3c:3e:4c 0x9b0043
20:0b:00:a0:98:3c:3e:4c 0x9b0061*
<snip>
You may need to be in priv set advanced or diag depending on the version of Data ONTAP.
I hope this is what you're looking for.
Share and enjoy!
Peter
-----Original Message-----
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Momonth
Sent: Thursday, April 17, 2014 8:02 AM
To: toasters@teaparty.net
Subject: FCP switch / port info
Hi All,
With OnTAP 8.x (afaik), it became possible to see what FC switch name / port number a filer is connected to on SAN:
filer> fcp show adapters -v
..
Switch Port: fc-corp-203:22
// fc-corp-203 - switch name
// 22 - port number
I assume a certain FCP request makes it possible and wonder if a similar tool is available on a Linux server (Im running CentOS mainly). Is anybody aware of such a tool / utility?
Cheers,
Vladimir
_______________________________________________
Toasters mailing list
Toasters@teaparty.net
http://www.teaparty.net/mailman/listinfo/toasters
_______________________________________________
Toasters mailing list
Toasters@teaparty.net
http://www.teaparty.net/mailman/listinfo/toasters