How to Configure FCoE Ports
FCoE functionality is provided through Ethernet interfaces. Fibre Channel over Ethernet (FCoE) ports are logical entities associated with Ethernet interfaces.
Within a Solaris host, there is a one-to-one mapping of FCoE ports and Ethernet interfaces---you can associate only one FCoE port with a given Ethernet interface. FCoE and IP cannot share the same Ethernet interface, so before you create an FCoE port on an Ethernet interface, ensure that the interface has been unplumbed.
How to Enable 802.3x PAUSE and Jumbo Frames on the Ethernet Interface
Perform the following prerequisites before you create an FCoE port on an Ethernet interface:
- Enable the 802.3x (also called PAUSE) setting on the Ethernet interface. This setting ensures a consistent Ethernet transport.
- Enable jumbo frames (> 2.5 Kbyte) on the Ethernet interface. A Fibre Channel data frame can be as large as 2136 bytes.
These settings can vary for different Ethernet hardware and drivers. In most cases, you must modify the driver.conf file of the Ethernet interface, and then reboot. See the driver.conf file for your Ethernet interface for details on how to enable these features.
How to Create FCoE Target Ports
- Create an FCoE target port on a specified network interface.
# fcadm create-fcoe-port -t nxge0
- If the Ethernet interface you selected does not support multiple unicast address (for example, the VMware network interface), you are prompted to explicitly enable promiscuous mode on that interface.
# fcadm create-fcoe-port -t -f e1000g0
If no error messages appear, the FCoE target port is created and the FCoE target is online.
How to Verify That an FCoE Target Port is Working
- List the FCoE ports you created.
# fcadm list-fcoe-ports
HBA Port WWN: 200000144fda7f66 Port Type: Target MAC Name: nxge0 MTU Size: 9194 MAC Factory Address: 00144fda7f66 MAC Current Address: 0efc009a002a Promiscuous Mode: On - List all target mode Fibre Channel HBA ports on the host.
# fcinfo hba-port -t
HBA Port WWN: 200000144fda7f66 Port Mode: Target Port ID: 9a002a OS Device Name: Not Applicable Manufacturer: Sun Microsystems, Inc. Model: FCoE Virtual FC HBA Firmware Version: N/A FCode/BIOS Version: N/A Serial Number: N/A Driver Name: COMSTAR FCOET Driver Version: 1.0 Type: F-port State: online Supported Speeds: 1Gb 10 Gb Current Speed: 10Gb Node WWN: 100000144fda7f66 - View a list of the FCoE target ports.
The -v option displays additional information about the target, along with SCSI session information for logged-in initiators.# stmfadm list-target -v
Target wwn.200000144FDA7F66 Operational Status: Online Provider Name : fcoet Alias : fcoet1 Sessions : 1 Initiator: wwn.210000E08B818343 Alias: #QLA2342 FW:v3.03.25 DVR:v8.02.14.01 Logged in since: Wed Feb 11 15:56:51 2009
FCoE port configuration is persistent across reboots. All configured FCoE ports are created and placed online automatically after a reboot.
How to Delete FCoE Target Ports
You can disable FCoE functionality when needed.
- Take the FCoE target port offline.
# stmfadm offline-target wwn.200000144fda7f66
- Remove the FCoE target port.
# fcadm delete-fcoe-port nxge0


Comments (2)
Apr 14, 2009
anthem says:
Hi There Is there any ethernet card or driver in Solaris currently that support...Hi There
Is there any ethernet card or driver in Solaris currently that supports 802.3 Pause and Jumbo frame?
Thanks
Arun
Apr 19, 2009
z.w says:
Hi Arun, As far as I know, most Ethernet controllers supported in Solaris can b...Hi Arun,
As far as I know, most Ethernet controllers supported in Solaris can be configured to enable 802.3x PAUSE and Jumbo frame, although I do not have a complete list. To name a few, Intel PRO/1000 (e1000g), Intel Oplin 10GbE (ixgbe) and Sun Neptune 10GbE (nxge) all support both features and have been tested with FCoE.
Regards,
Zhong