Product SiteDocumentation Site

20.7.  Configuring a Fibre-Channel Over Ethernet Interface

Setting up and deploying a Fibre-channel over ethernet (FCoE) interface requires two packages:
Once these packages are installed, perform the following procedure to enable FCoE over a virtual LAN (VLAN):
Procedure 20.3. Configuring an ethernet interface to use FCoE
  1. Configure a new VLAN (101) by creating a new network script for it. The easiest way to do so is to copy the network script of an ethernet interface (eth3) to a new one with the 101 file name suffix, as in:
    cp /etc/sysconfig/network-scripts/ifcfg-eth3 /etc/sysconfig/network-scripts/ifcfg-eth3.101
  2. Open /etc/sysconfig/network-scripts/ifcfg-eth3.101. Edit it to ensure that the following settings are configured accordingly:
       DEVICE=eth3.101
       VLAN=yes
       ONBOOT=yes
    
  3. Start the data center bridging daemon (dcbd) using the following command:
    /etc/init.d/dcbd start
  4. Use the dcbtool utility to enable data center bridging and FCoE on the ethernet interface using the following commands:
    dcbtool sc eth3 dcb on
    dcbtool sc eth3 app:fcoe e:1
    These commands will only work if no other changes have been made to the dcbd settings for the ethernet interface.
  5. Start FCoE using the command /etc/init.d/fcoe start. The fibre-channel device should appear shortly, assuming all other settings on the fabric are correct.
After correctly configuring the ethernet interface to use FCoE, you should set FCoE and dcbd to run at startup. To do so, use chkconfig, as in:
chkconfig dcbd on
chkconfig fcoe on

Warning

Do not run software-based DCB or LLDP on CNAs that implement DCB.
Some Combined Network Adapters (CNAs) implement the Data Center Bridging (DCB) protocol in firmware. The DCB protocol assumes that there is just one originator of DCB on a particular network link. This means that any higher-level software implementation of DCB, or Link Layer Discovery Protocol (LLDP), must be disabled on CNAs that implement DCB.