![]() |
NOTE: If FCoE is installed during OS installation, then this is not required. |
After SLES 11 SP1 is operational, perform the following:
/etc/udev/rules.d/70-persistent-net.rules
(search for "SLES 11 udev rules" for relevant documentation, if needed)
Changes in this file will not take effect until you reboot your system or shutdown all network interfaces and run a udevadm trigger
ifconfig -a
service lldpad start
chkconfig lldpad on
Adjust DCB settings on the physical interface to be used for FCoE with these commands:
dcbtool sc ethx dcb on
dcbtool sc ethx app:0 e:1
dcbtool sc ethx pfc e:1 a:1 w:1
Create a configuration file for the VLAN interface. To copy cfg file, run command:
cp /etc/fcoe/cfg-ethx /etc/fcoe/cfg-eth1
Run commands:
service fcoe start
chkconfig fcoe on
FCoE is now installed and ready to use.
fcoeadm -i
![]() |
NOTE: "XYZ" is the VLAN ID used in your FCoE switch. The following example uses VLAN 101. |
create fcoe interface: fcoeadm -c ethx.XYZ-fcoe
delete fcoe interface: fcoeadm -d ethx.XYZ-fcoe
show interface info: fcoeadm -i
show targets: fcoeadm -t
show LUNs: fcoeadm -l
show help: fcoeadm -h
![]() |
NOTE: Manually configuring a VLAN is no longer necessary, but the FCoE interface must be "up" so that fcoemon can discover the VLAN on which to pass FCoE traffic. The user can bring the interface "up" manually with ifconfig eth1 up or set the system to bring the interface up during boot by configuring a static address or DHCP. |
The following example uses Yast for creating the vlan:
NOTE: The fipvlan tool (included in the open-fcoe rpm package) can determine what VLANs are visible.
eg.,# fipvlan -a
Fibre Channel Forwarders Discovered
interface | VLAN | FCF MAC
------------------------------------
eth1 | 101 | 00:0d:ec:a3:39:00
Indicates that VLAN 101 is visible on interface eth1. This interface is connected to a Fiber Channel Forwarder whose MAC address is 00:0d:ec:a3:39:00.Use fipvlan --help for more details.