2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
4 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
5 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH FCINFO 8 "Jul 26, 2009"
8 fcinfo, fcadm \- Fibre Channel HBA Port Command Line Interface
12 \fBfcinfo\fR hba-port [\fB-lite\fR] [\fIHBA_port_WWN\fR]...
17 \fBfcadm\fR hba-port [\fB-lite\fR] [\fIHBA_port_WWN\fR]...
22 \fBfcinfo\fR remote-port [\fB-ls\fR] [\fB-p\fR \fIHBA_port_WWN\fR]
23 [\fIREMOTE_port_WWN\fR]...
28 \fBfcadm\fR remote-port [\fB-ls\fR] [\fB-p\fR \fIHBA_port_WWN\fR]
29 [\fIREMOTE_port_WWN\fR]...
34 \fBfcinfo\fR logical-unit | lu [\fB-v\fR] [OS \fIdevice_path\fR]
39 \fBfcadm\fR logical-unit | lu [\fB-v\fR] [OS \fIdevice_path\fR]
44 \fBfcadm\fR create-npiv-port \fB-p\fR \fIVirtual_Port_WWN\fR [\fB-n\fR \fIVirtual_Node_WWN\fR]
45 \fIPhysicalPort_port_WWN\fR
50 \fBfcadm\fR delete-npiv-port \fB-p\fR \fIVirtual_Port_WWN\fR [\fB-n\fR \fIVirtual_Node_WWN\fR]
51 \fIPhysicalPort_port_WWN\fR
56 \fBfcadm\fR create-fcoe-port [\fB-tf\fR] \fB-p\fR \fIPort_WWN\fR [\fB-n\fR \fINode_WWN\fR]
62 \fBfcadm\fR delete-fcoe-port \fIMAC_Interface\fR
67 \fBfcadm\fR list-fcoe-ports \fIMAC_Interface\fR
72 \fBfcadm\fR force-lip \fIPort_WWN\fR
77 \fBfcinfo\fR [\fB-V\fR]
82 \fBfcadm\fR [\fB-V\fR]
87 \fBfcinfo\fR [\fB-?\fR]
92 \fBfcadm\fR [\fB-?\fR]
98 \fBfcinfo\fR and \fBfcadm\fR are command line interfaces that collect
99 administrative information on fibre channel host bus adapter (\fBHBA\fR) ports
100 on a host. They also collect data on any fibre channel targets that might be
101 connected to those ports in a Storage Area Network (\fBSAN\fR).
104 A port can be either in initiator mode or target mode. The same FC attribute
105 information and remote port information are applied to both the initiator and
106 the target modes port except that SCSI-related operations described below do
107 not apply for the target mode port.
111 The following subcommands are supported by both \fBfcinfo\fR and \fBfcadm\fR:
118 Lists information for the \fBHBA\fR port referenced by the specified
119 \fIHBA_port_WWN\fR. If \fIHBA_port_WWN\fR is not specified, all initiator mode
120 and target mode fibre channel \fBHBA\fR ports on the host will be listed.
126 \fB\fBremote-port\fR\fR
129 Lists the \fIremote-port\fR information for those remote ports that are
130 specified. If no \fIREMOTE_port_WWN\fR is specified, all remote ports that are
131 visible through \fIHBA_port_WWN\fR are listed.
137 \fB\fBlogical-unit\fR | \fBlu\fR\fR
140 Lists the logical unit referenced by the specified \fIdevice_path\fR. If
141 \fIdevice_path\fR is not specified, all fibre channel logical units will be
142 listed. This subcommand applies only to the initiator mode.
147 The following subcommands, which administer N_Port ID Virtualization (NPIV) HBA
148 ports, are supported only by \fBfcadm\fR:
152 \fB\fBcreate-npiv-port\fR\fR
156 Create an NPIV virtual port on the specified adapter.
162 \fB\fBdelete-npiv-port\fR\fR
166 Delete an NPIV virtual port. This delete only ports create by \fBfcadm\fR.
171 The following subcommands, which administer Fibre Channel over Ethernet (FCoE)
172 ports, are supported only by \fBfcadm\fR:
176 \fB\fBcreate-fcoe-port\fR\fR
180 Creates a FCoE port associated with the given MAC interface and the given
181 \fIPort_WWN\fR/\fINode_WWN\fR. If \fB-p\fR or \fB-n\fR is not specified, the
182 Port WWN or Node WWN will be generated automatically. If the specified MAC
183 interface does not support multiple unicast address, no FCoE port will be
184 created and you receive a message indicating that you can add an \fB-f\fR
185 option to force enabling promiscuous mode on the specified MAC interface to
192 \fB\fBdelete-fcoe-port\fR\fR
196 Deletes the FCoE port associated with the specified MAC interface.
202 \fB\fBlist-fcoe-ports\fR\fR
206 List information of FCoE ports.
212 \fB\fBforce-lip\fR\fR
216 Force the link to reinitialize. When issuing this subcommand on the target
217 port side, causes a reset of the target port. When issuing it from the host
218 port side, resets the host port. When an FC switch is connected, other FC ports
219 in the SAN will get a RSCN (Remote State Change Notification). Furthermore,
220 other initiators will always rediscover the port after this, and the FC login
221 session will be established or reused. Also, I/Os will be continued. This
222 command is disruptive to I/Os, but it is not destructive, as it does not cause
229 The following options are supported:
233 \fB\fB-e\fR, \fB--fcoe\fR\fR
237 Lists the information for all FCoE ports.
243 \fB\fB-f\fR, \fB--fcoe-promiscuous\fR\fR
247 Used with \fBcreate-fcoe-port\fR to create an FCoE port on a MAC interface
248 associated with a NIC that does not support multiple unicast address.
249 Promiscuous mode will be enabled for the specified MAC interface.
255 \fB\fB-l\fR, \fB--linkstat\fR\fR
259 Lists the link error statistics information for the port referenced by the
260 specified \fIHBA_port_WWN\fR or \fIREMOTE_port_WWN\fR.
266 \fB\fB-n\fR \fIHBA_node_WWN\fR, \fB--node\fR \fIHBA_node_WWN\fR\fR
270 When used with NPIV options, specify a virtual node WWN. If used with
271 \fBcreate-npiv-port\fR, it can be omitted, and a random based WWN will be used.
272 It is mandatory for \fBdelete-npiv-port\fR.
274 When used with \fBcreate-fcoe-port\fR subcommand, specify the node WWN for the
275 FCoE port. It can be omitted, in which case a WWN will be generated based on
276 the MAC address of the specified MAC interface.
282 \fB\fB-p\fR \fIHBA_port_WWN\fR, \fB--port\fR \fIHBA_port_WWN\fR\fR
286 Retrieve remote port information from the \fIHBA_port_WWN\fR of the local
287 \fBHBA\fR port on the host. When used with the \fBremote-port\fR subcommand,
288 the \fB-p\fR option is mandatory.
290 When used with NPIV options, specify a virtual port WWN. If used with
291 \fBcreate-npiv-port\fR, it can be omitted, and a random based WWN will be used.
292 It is mandatory for \fBdelete-npiv-port\fR.
294 When used with \fBcreate-fcoe-port\fR subcommand, specify the port WWN for the
295 FCoE port. It can be omitted, in which case a WWN will be generated based on
296 the MAC address of the specified MAC interface.
302 \fB\fB-s\fR, \fB--scsi-target\fR\fR
306 Lists the \fBSCSI\fR target information for all remote ports the user has asked
307 for. The \fB-p\fR, \fB--port\fR option must always be specified and must be a
308 valid \fBHBA\fR port on the host. This \fBHBA\fR port will be used as the
309 initiator for which to retrieve the \fBSCSI\fR level target information. Note
310 that this will only function on remote port fibre channel World-Wide Names that
311 support an FC4 type of \fBSCSI\fR. This option applies only to an initiator
318 \fB\fB-t\fR [\fIHBA_node_WWN\fR], \fB-target\fR [\fIHBA_node_WWN\fR]\fR
322 Lists the information for the port with the target mode referenced by the
323 specified \fIHBA_node_WWN\fR or all target mode ports discovered in the host.
325 When used with \fBcreate-fcoe-port\fR, create a FCoE target mode port.
331 \fB\fB-v\fR, \fB--verbose\fR\fR
335 When used with the \fBlogical-unit\fR subcommand, the \fB-v\fR displays
336 additional information for the logical unit, including \fBSCSI\fR vendor and
337 product information and device type as well as the \fBFC\fR World-Wide names
338 for the local and remote fibre channel ports to which this device is attached.
344 \fB\fB-V\fR, \fB--version\fR\fR
348 Displays the version information.
354 \fB\fB-?\fR, \fB--help\fR\fR
358 Displays the usage information.
363 \fBExample 1 \fRListing All HBA Ports
366 The following command lists all initiator mode fibre channel \fBHBA\fR ports on
372 # \fBfcinfo hba-port\fR
374 HBA Port WWN: 210000e08b074cb5
376 OS Device Name: /dev/cfg/c1
377 Manufacturer: QLogic Corp.
379 Firmware Version: 3.3.116
380 FCode/BIOS Version: 1.13.08
381 Serial Number: not available
383 Driver Version: 20070212-2.19
386 Supported Speeds: 1Gb 2Gb
388 Node WWN: 200000e08b074cb5
391 Port WWN: 200000e08b074cb1
392 Node WWN: 200000e08b074cb3
393 HBA Port WWN: 210100e08b274cb5
395 OS Device Name: /dev/cfg/c2
396 Manufacturer: QLogic Corp.
398 Firmware Version: 3.3.116
399 FCode/BIOS Version: 1.13.08
400 Serial Number: not available
402 Driver Version: 20070212-2.19
405 Supported Speeds: 1Gb 2Gb
407 Node WWN: 200100e08b274cb5
408 HBA Port WWN: 210000e08b072ab5
410 OS Device Name: /dev/cfg/c3
411 Manufacturer: QLogic Corp.
412 Firmware Version: 3.3.116
413 FCode/BIOS Version: 1.13.08
415 Serial Number: not available
417 Driver Version: 20070212-2.19
420 Supported Speeds: 1Gb 2Gb
422 Node WWN: 200000e08b072ab5
423 HBA Port WWN: 210100e08b272ab5
425 OS Device Name: /dev/cfg/c4
426 Manufacturer: QLogic Corp.
428 Firmware Version: 3.3.116
429 FCode/BIOS Version: 1.13.08
430 Serial Number: 0402F00-0549112808
432 Driver Version: 20070212-2.19
435 Supported Speeds: 1Gb 2Gb
437 Node WWN: 200100e08b272ab5
443 \fBExample 2 \fRListing Target Mode HBA Ports
446 The following command lists all target mode fibre channel HBA ports on the
452 # \fBfcinfo hba-port -t\fR
453 HBA Port WWN: 210100e08bb09221
456 OS Device Name: Not Applicable
457 Manufacturer: QLogic Corp.
459 Firmware Version: 4.0.109
460 FCode/BIOS Version: N/A
463 Supported Speeds: not established
465 Node WWN: 200100e08bb09221
466 HBA Port WWN: 210000e08b909221
469 OS Device Name: Not Applicable
470 Manufacturer: QLogic Corp.
472 Firmware Version: 4.0.109
473 FCode/BIOS Version: N/A
476 Supported Speeds: not established
478 Node WWN: 200000e08b909221
479 HBA Port WWN: 200000144fc2d508
482 OS Device Name: Not Applicable
483 Manufacturer: Sun Microsystems, Inc.
484 Model: FCoE Virtual FC HBA
485 Firmware Version: N/A
486 FCode/BIOS Version: N/A
488 Driver Name: COMSTAR FCOET
492 Supported Speeds: 1Gb 10Gb
494 Node WWN: 100000144fc2d508
495 HBA Port WWN: 200000144fc2d509
498 OS Device Name: Not Applicable
499 Manufacturer: Sun Microsystems, Inc.
500 Model: FCoE Virtual FC HBA
501 Firmware Version: N/A
502 FCode/BIOS Version: N/A
504 Driver Name: COMSTAR FCOET
508 Supported Speeds: 1Gb 10Gb
510 Node WWN: 100000144fc2d509
516 \fBExample 3 \fRListing HBA Ports and Link Statistics
519 The following command lists information for the \fBHBA\fR ports and the link
520 statistics for those ports:
525 # \fBfcinfo hba-port -l 210000e08b074cb5 210100e08b274cb5\fR
527 HBA Port WWN: 210000e08b074cb5
529 OS Device Name: /dev/cfg/c1
530 Manufacturer: QLogic Corp.
532 Firmware Version: 3.3.116
533 FCode/BIOS Version: 1.13.08
534 Serial Number: 0402F00-0549112808
536 Driver Version: 20070212-2.19
539 Supported Speeds: 1Gb 2Gb
541 Node WWN: 200000e08b074cb5
542 Link Error Statistics:
543 Link Failure Count: 0
544 Loss of Sync Count: 0
545 Loss of Signal Count: 0
546 Primitive Seq Protocol Error Count: 0
547 Invalid Tx Word Count: 0
549 HBA Port WWN: 210100e08b274cb5
551 OS Device Name: /dev/cfg/c2
552 Manufacturer: QLogic Corp.
554 Firmware Version: 3.3.116
555 FCode/BIOS Version: 1.13.08
556 Serial Number: 0402F00-0549112808
558 Driver Version: 20070212-2.19
561 Supported Speeds: 1Gb 2Gb
563 Node WWN: 200100e08b274cb5
564 Link Error Statistics:
565 Link Failure Count: 0
566 Loss of Sync Count: 0
567 Loss of Signal Count: 0
568 Primitive Seq Protocol Error Count: 0
569 Invalid Tx Word Count: 0
576 \fBExample 4 \fRListing All Remote Ports
579 The following command lists all remote ports that are visible through the given
585 # \fBfcinfo remote-port -p 210100e08b274cb5\fR
587 Remote Port WWN: 50020f230000b4af
588 Active FC4 Types: SCSI
590 Port Symbolic Name: unknown
591 Node WWN: 50020f200000b4af
592 Remote Port WWN: 210000e08b07daa6
593 Active FC4 Types: SCSI
595 Port Symbolic Name: unknown
596 Node WWN: 200000e08b07daa6
597 Remote Port WWN: 20030003ba27c788
598 Active FC4 Types: SCSI
600 Port Symbolic Name: unknown
601 Node WWN: 10000003ba27c788
602 Remote Port WWN: 210000e08b096a60
603 Active FC4 Types: SCSI,IP
605 Port Symbolic Name: unknown
606 Node WWN: 200000e08b096a60
612 \fBExample 5 \fRListing Remote Ports and Link Statistics
615 The following command lists information for the remote ports and the link
616 statistics for those ports:
621 # \fBfcinfo remote-port -l -p 210100e08b272ab5\fR
623 Remote Port WWN: 210100e08b296a60
624 Active FC4 Types: SCSI,IP
626 Port Symbolic Name: unknown
627 Node WWN: 200100e08b296a60
628 Link Error Statistics:
629 Link Failure Count: 0
630 Loss of Sync Count: 0
631 Loss of Signal Count: 0
632 Primitive Seq Protocol Error Count: 0
633 Invalid Tx Word Count: 0
635 Remote Port WWN: 20030003ba27d56d
636 Active FC4 Types: SCSI
638 Port Symbolic Name: unknown
639 Node WWN: 10000003ba27d56d
640 Link Error Statistics:
641 Link Failure Count: 0
642 Loss of Sync Count: 4765165
643 Loss of Signal Count: 4765165
644 Primitive Seq Protocol Error Count: 0
645 Invalid Tx Word Count: 0
647 Remote Port WWN: 210100e08b27f7a6
648 Active FC4 Types: SCSI
650 Port Symbolic Name: unknown
651 Node WWN: 200100e08b27f7a6
652 Link Error Statistics:
653 Link Failure Count: 0
654 Loss of Sync Count: 0
655 Loss of Signal Count: 0
656 Primitive Seq Protocol Error Count: 0
657 Invalid Tx Word Count: 0
659 Remote Port WWN: 50020f230000b897
660 Active FC4 Types: SCSI
662 Port Symbolic Name: unknown
663 Node WWN: 50020f200000b897
664 Link Error Statistics:
665 Link Failure Count: 0
666 Loss of Sync Count: 7
667 Loss of Signal Count: 7
668 Primitive Seq Protocol Error Count: 0
669 Invalid Tx Word Count: 0
671 Remote Port WWN: 210100e08b27daa6
672 Active FC4 Types: SCSI
674 Port Symbolic Name: unknown
675 Node WWN: 200100e08b27daa6
676 Link Error Statistics:
677 Link Failure Count: 0
678 Loss of Sync Count: 0
679 Loss of Signal Count: 0
680 Primitive Seq Protocol Error Count: 0
681 Invalid Tx Word Count: 0
683 Remote Port WWN: 210000e08b074cb5
684 Active FC4 Types: SCSI,IP
686 Port Symbolic Name: unknown
687 Node WWN: 200000e08b074cb5
688 Link Error Statistics:
689 Link Failure Count: 0
690 Loss of Sync Count: 0
691 Loss of Signal Count: 0
692 Primitive Seq Protocol Error Count: 0
693 Invalid Tx Word Count: 0
695 Remote Port WWN: 210100e08b296060
696 Active FC4 Types: SCSI
698 Port Symbolic Name: unknown
699 Node WWN: 200100e08b296060
700 Link Error Statistics:
701 Link Failure Count: 0
702 Loss of Sync Count: 0
703 Loss of Signal Count: 0
704 Primitive Seq Protocol Error Count: 0
705 Invalid Tx Word Count: 0
712 \fBExample 6 \fRListing All SCSI Targets and Link Statistics
715 The following command lists all remote ports as well as the link statistics and
716 \fIscsi-target\fR information:
721 # \fBfcinfo remote-port -sl -p 210100e08b272ab5\fR
723 Remote Port WWN: 210100e08b296a60
724 Active FC4 Types: SCSI,IP
726 Port Symbolic Name: unknown
727 Node WWN: 200100e08b296a60
728 Link Error Statistics:
729 Link Failure Count: 0
730 Loss of Sync Count: 0
731 Loss of Signal Count: 0
732 Primitive Seq Protocol Error Count: 0
733 Invalid Tx Word Count: 0
735 Remote Port WWN: 20030003ba27d56d
736 Active FC4 Types: SCSI
738 Port Symbolic Name: unknown
739 Node WWN: 10000003ba27d56d
740 Link Error Statistics:
741 Link Failure Count: 0
742 Loss of Sync Count: 4765165
743 Loss of Signal Count: 4765165
744 Primitive Seq Protocol Error Count: 0
745 Invalid Tx Word Count: 0
750 OS Device Name: /dev/rdsk/c4t20030003BA27D56Dd0s2
754 OS Device Name: /dev/rdsk/c4t20030003BA27D56Dd1s2
755 Remote Port WWN: 210100e08b27f7a6
756 Active FC4 Types: SCSI
758 Port Symbolic Name: unknown
759 Node WWN: 200100e08b27f7a6
760 Link Error Statistics:
761 Link Failure Count: 0
762 Loss of Sync Count: 0
763 Loss of Signal Count: 0
764 Primitive Seq Protocol Error Count: 0
765 Invalid Tx Word Count: 0
767 Remote Port WWN: 50020f230000b897
768 Active FC4 Types: SCSI
770 Port Symbolic Name: unknown
771 Node WWN: 50020f200000b897
772 Link Error Statistics:
773 Link Failure Count: 0
774 Loss of Sync Count: 7
775 Loss of Signal Count: 7
776 Primitive Seq Protocol Error Count: 0
777 Invalid Tx Word Count: 0
782 OS Device Name: Unknown
786 OS Device Name: /dev/rdsk/c4t50020F230000B897d1s2
790 OS Device Name: /dev/rdsk/c4t50020F230000B897d2s2
794 OS Device Name: /dev/rdsk/c4t50020F230000B897d3s2
798 OS Device Name: /dev/rdsk/c4t50020F230000B897d4s2
802 OS Device Name: /dev/rdsk/c4t50020F230000B897d5s2
806 OS Device Name: /dev/rdsk/c4t50020F230000B897d6s2
810 OS Device Name: /dev/rdsk/c4t50020F230000B897d7s2
814 OS Device Name: /dev/rdsk/c4t50020F230000B897d8s2
818 OS Device Name: /dev/rdsk/c4t50020F230000B897d9s2
822 OS Device Name: /dev/rdsk/c4t50020F230000B897d10s2
826 OS Device Name: /dev/rdsk/c4t50020F230000B897d11s2
830 OS Device Name: /dev/rdsk/c4t50020F230000B897d12s2
834 OS Device Name: /dev/rdsk/c4t50020F230000B897d13s2
838 OS Device Name: /dev/rdsk/c4t50020F230000B897d14s2
842 OS Device Name: /dev/rdsk/c4t50020F230000B897d15s2
843 Remote Port WWN: 210100e08b27daa6
844 Active FC4 Types: SCSI
846 Port Symbolic Name: unknown
847 Node WWN: 200100e08b27daa6
848 Link Error Statistics:
849 Link Failure Count: 0
850 Loss of Sync Count: 0
851 Loss of Signal Count: 0
852 Primitive Seq Protocol Error Count: 0
853 Invalid Tx Word Count: 0
855 Remote Port WWN: 210000e08b074cb5
856 Active FC4 Types: SCSI,IP
858 Port Symbolic Name: unknown
859 Node WWN: 200000e08b074cb5
860 Link Error Statistics:
861 Link Failure Count: 0
862 Loss of Sync Count: 0
863 Loss of Signal Count: 0
864 Primitive Seq Protocol Error Count: 0
865 Invalid Tx Word Count: 0
867 Remote Port WWN: 210100e08b296060
868 Active FC4 Types: SCSI
870 Port Symbolic Name: unknown
871 Node WWN: 200100e08b296060
872 Link Error Statistics:
873 Link Failure Count: 0
874 Loss of Sync Count: 0
875 Loss of Signal Count: 0
876 Primitive Seq Protocol Error Count: 0
877 Invalid Tx Word Count: 0
884 \fBExample 7 \fRListing SCSI Target Information
887 The following command lists all remote ports as well as the \fIscsi-target\fR
893 # \fBfcinfo remote-port -s -p 210100e08b272ab5\fR
895 Remote Port WWN: 210100e08b296a60
896 Active FC4 Types: SCSI,IP
898 Port Symbolic Name: unknown
899 Node WWN: 200100e08b296060
900 Remote Port WWN: 20030003ba27d56d
901 Active FC4 Types: SCSI
903 Port Symbolic Name: unknown
904 Node WWN: 10000003ba27d56d
908 OS Device Name: /dev/rdsk/c4t20030003BA27D56Dd0s2
912 OS Device Name: /dev/rdsk/c4t20030003BA27D56Dd1s2
913 Remote Port WWN: 210100e08b27f7a6
914 Active FC4 Types: SCSI
916 Port Symbolic Name: unknown
917 Node WWN: 200100e08b27f7a6
918 Remote Port WWN: 50020f230000b897
919 Active FC4 Types: SCSI
921 Port Symbolic Name: unknown
922 Node WWN: 50020f200000b897
926 OS Device Name: Unknown
930 OS Device Name: /dev/rdsk/c4t50020F230000B897d1s2
934 OS Device Name: /dev/rdsk/c4t50020F230000B897d2s2
938 OS Device Name: /dev/rdsk/c4t50020F230000B897d3s2
942 OS Device Name: /dev/rdsk/c4t50020F230000B897d4s2
946 OS Device Name: /dev/rdsk/c4t50020F230000B897d5s2
950 OS Device Name: /dev/rdsk/c4t50020F230000B897d6s2
954 OS Device Name: /dev/rdsk/c4t50020F230000B897d7s2
958 OS Device Name: /dev/rdsk/c4t50020F230000B897d8s2
962 OS Device Name: /dev/rdsk/c4t50020F230000B897d9s2
966 OS Device Name: /dev/rdsk/c4t50020F230000B897d10s2
970 OS Device Name: /dev/rdsk/c4t50020F230000B897d11s2
974 OS Device Name: /dev/rdsk/c4t50020F230000B897d12s2
978 OS Device Name: /dev/rdsk/c4t50020F230000B897d13s2
982 OS Device Name: /dev/rdsk/c4t50020F230000B897d14s2
986 OS Device Name: /dev/rdsk/c4t50020F230000B897d15s2
987 Remote Port WWN: 210100e08b27daa6
988 Active FC4 Types: SCSI
990 Port Symbolic Name: unknown
991 Node WWN: 200100e08b27daa6
992 Remote Port WWN: 210000e08b074cb5
993 Active FC4 Types: SCSI,IP
995 Port Symbolic Name: unknown
996 Node WWN: 200000e08b074cb5
997 Remote Port WWN: 210100e08b296060
998 Active FC4 Types: SCSI
1000 Port Symbolic Name: unknown
1001 Node WWN: 200100e08b296060
1007 \fBExample 8 \fRListing the Logical Unit
1010 The following command lists the logical unit:
1015 # \fBfcinfo logical-unit\fR
1017 /dev/rdsk/c0t600C0FF0000000000036223AE73EB705d0s2
1018 /dev/rdsk/c0t600C0FF00000000000362272539E5B03d0s2
1025 \fBExample 9 \fRDisplaying Additional Information for the Logical Unit
1028 The following command displays additional information about the logical unit
1029 using the \fB-v\fR option for device \fB/dev/rmt/On\fR:
1034 # \fBfcinfo lu -v /dev/rmt/On\fR
1036 OS Device Name: /dev/rmt/0n
1037 HBA Port WWN: 210000e07c030b91
1038 Remote Port WWN: 21010003b7830a6
1042 Device Type: Tape device
1049 The following command displays additional information about the logical unit
1050 using the \fB-v\fR option for device
1051 \fB/dev/rdsk/c0t600C0FF0000000000036223AE73EB705d0s2\fR
1056 # \fBfcinfo logical-unit -v \e\fR
1057 \fB/dev/rdsk/c0t600C0FF0000000000036223AE73EB705d0s2\fR
1059 OS Device Name: /dev/rdsk/c0t600C0FF0000000000036223AE73EB705d0s2
1060 HBA Port WWN: 210100e08b27a8a1
1061 Remote Port WWN: 256000c0ffc03622
1063 Remote Port WWN: 216000c0ff803622
1065 HBA Port WWN: 210000e08b07a8a1
1066 Remote Port WWN: 256000c0ffc03622
1068 Remote Port WWN: 216000c0ff803622
1071 Product: StorEdge 3510
1072 Device Type: Disk device
1078 \fBExample 10 \fRAdding an NIPV Port
1081 The following command adds an NPIV port to the HBA with a port name:
1093 The NPIV port has a port name of \fB2000000000000001\fR and a node name of
1094 \fB2100000000000001\fR.
1099 # \fBfcadm create-npiv-port -p 2000000000000001 -n 2100000000000001 \e
1103 HBA Port WWN: 2000000000000001
1104 Node WWN: 2100000000000001
1105 Physical HBA Port WWN: 210000e08b170f1c
1111 \fBExample 11 \fRAdding an NIPV Port with Random WWN
1114 The following command adds an NPIV port to the HBA with a randomly assigned
1115 port name of \fB210000e08b170f1c\fR.
1120 # \fBfcadm create-npiv-port 210000e08b170f1c\fR
1123 HBA Port WWN: 2038295824942801
1124 Node WWN: 2100392849248001
1125 Physical HBA Port WWN: 210000e08b170f1c
1131 \fBExample 12 \fRDeleting an NIPV Port
1134 The following command deletes an NPIV port.
1139 # \fBfcadm delete-npiv-port -p 2000000000000001 -w 2100000000000001 \e
1146 \fBExample 13 \fRCreating an FCoE Target Port
1149 The following command creates an FCoE port associated with the MAC interface
1155 # \fBfcadm create-fcoe-port -t nxge0\fR
1161 \fBExample 14 \fRDeleting an FCoE Port
1164 The following command deletes the FCoE port associated with the MAC interface
1170 # \fBfcadm delete-fcoe-port -t nxge0\fR
1176 \fBExample 15 \fRListing Information for an FCoE Port
1179 The following command lists information for FCoE ports.
1184 # \fBfcadm list-fcoe-ports\fR
1185 HBA Port WWN: 200000144fc2d508
1189 MAC Factory Address: 00144fc2d508
1190 MAC Current Address: 00144fc2d508
1191 HBA Port WWN: 200000144fc2d509
1195 MAC Factory Address: 00144fc2d509
1196 MAC Current Address: 00144fc2d509
1202 \fBExample 16 \fRReinitializing the Link of an FC Port
1205 The following command forces the link connected with the port
1206 \fB200000144fc2d508\fR to reinitialize.
1211 # \fBfcadm force-lip 200000144fc2d508\fR
1219 See \fBattributes\fR(5) for descriptions of the following attributes:
1227 ATTRIBUTE TYPE ATTRIBUTE VALUE
1229 Interface Stability Committed
1239 Errors that can occur in addition to the errors normally associated with system
1240 administration commands:
1245 \fB\fIHBA_port_WWN\fR: not found\fR
1251 \fB\fIRemote_port_WWN\fR: not found\fR
1257 \fB\fIHBA_port_WWN\fR: NPIV not supported on this HBA\fR