How to Configure FCoE Ports

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:

  1. Enable the 802.3x (also called PAUSE) setting on the Ethernet interface. This setting ensures a consistent Ethernet transport.
  2. 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

  1. Create an FCoE target port on a specified network interface.
    # fcadm create-fcoe-port -t nxge0
    
  2. 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

  1. 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
    
  2. 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
    
  3. 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.

  1. Take the FCoE target port offline.
    # stmfadm offline-target wwn.200000144fda7f66
    
  2. Remove the FCoE target port.
    # fcadm delete-fcoe-port nxge0
    
Where to Go Next

Labels

task task Delete
smallsiteadmin smallsiteadmin Delete
configuring configuring Delete
storage storage Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. 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

  2. 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

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact