You can use the ListFibreChannelPortInfo method to list information about the Fibre Channel ports.
This API method is intended for use on individual nodes; a userid and password are required for access to individual Fibre Channel nodes. However, this method can be used on the cluster if the force parameter is set to true. When used on the cluster, all Fibre Channel interfaces are listed.
This method has the following input parameter:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
force | Set to true to run on all nodes in the cluster. | boolean | None | No |
This method has the following return value:
Name | Description | Type |
---|---|---|
fibreChannelPorts | A list of all physical Fibre Channel ports, or a port for a single node. | fibreChannelPort array |
Requests for this method are similar to the following example:
{ "method": "ListFibreChannelPortInfo", "params": {}, "id" : 1 }
This method returns a response similar to the following example:
{ "id": 1, "result": { "fibreChannelPortInfo": { "5": { "result": { "fibreChannelPorts": [ { "firmware": "7.04.00 (d0d5)", "hbaPort": 1, "model": "QLE2672", "nPortID": "0xc70084", "pciSlot": 3, "serial": "BFE1335E03500", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:98:a3:41", "wwnn": "5f:47:ac:c8:3c:e4:95:00", "wwpn": "5f:47:ac:c0:3c:e4:95:0a" }, { "firmware": "7.04.00 (d0d5)", "hbaPort": 2, "model": "QLE2672", "nPortID": "0x0600a4", "pciSlot": 3, "serial": "BFE1335E03500", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:9c:71:01", "wwnn": "5f:47:ac:c8:3c:e4:95:00", "wwpn": "5f:47:ac:c0:3c:e4:95:0b" }, { "firmware": "7.04.00 (d0d5)", "hbaPort": 1, "model": "QLE2672", "nPortID": "0xc70044", "pciSlot": 2, "serial": "BFE1335E04029", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:98:a3:41", "wwnn": "5f:47:ac:c8:3c:e4:95:00", "wwpn": "5f:47:ac:c0:3c:e4:95:08" }, { "firmware": "7.04.00 (d0d5)", "hbaPort": 2, "model": "QLE2672", "nPortID": "0x060044", "pciSlot": 2, "serial": "BFE1335E04029", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:9c:71:01", "wwnn": "5f:47:ac:c8:3c:e4:95:00", "wwpn": "5f:47:ac:c0:3c:e4:95:09" } ] } }, "6": { "result": { "fibreChannelPorts": [ { "firmware": "7.04.00 (d0d5)", "hbaPort": 1, "model": "QLE2672", "nPortID": "0x060084", "pciSlot": 3, "serial": "BFE1335E04217", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:9c:71:01", "wwnn": "5f:47:ac:c8:3c:e4:95:00", "wwpn": "5f:47:ac:c0:3c:e4:95:02" }, { "firmware": "7.04.00 (d0d5)", "hbaPort": 2, "model": "QLE2672", "nPortID": "0xc700a4", "pciSlot": 3, "serial": "BFE1335E04217", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:98:a3:41", "wwnn": "5f:47:ac:c8:3c:e4:95:00", "wwpn": "5f:47:ac:c0:3c:e4:95:03" }, { "firmware": "7.04.00 (d0d5)", "hbaPort": 1, "model": "QLE2672", "nPortID": "0xc70064", "pciSlot": 2, "serial": "BFE1341E09515", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:98:a3:41", "wwnn": "5f:47:ac:c8:3c:e4:95:00", "wwpn": "5f:47:ac:c0:3c:e4:95:00" }, { "firmware": "7.04.00 (d0d5)", "hbaPort": 2, "model": "QLE2672", "nPortID": "0x060064", "pciSlot": 2, "serial": "BFE1341E09515", "speed": "8 Gbit", "state": "Online", "switchWwn": "20:01:00:2a:6a:9c:71:01", "wwnn": "5f:47:ac:c8:3c:e4:95:00", "wwpn": "5f:47:ac:c0:3c:e4:95:01" } ] } } } } }