Configuring vfc interfaces, Configuring a vfc interface – H3C Technologies H3C S5830V2 Series Switches User Manual
Page 28
17
Configuring VFC interfaces
A VFC interface can connect to an ENode, or a switch operating in the FCF, NPV, or Transit mode.
The VFC interface supports the following modes: E mode, F mode, and NP mode. By default, a VFC
interface operates in F mode.
A VFC interface is a virtual logical interface. It implements the function of an FC interface. To make a VFC
interface work, bind it to a physical Ethernet interface. The switch encapsulates the FC packets on a VFC
interface in FCoE packets and transmits the packets over the Ethernet interface bound to the VFC
interface.
To avoid FCoE packet loss in the Ethernet, you must perform the following tasks on the Ethernet interface
bound to the VFC interface:
•
Configure data center bridging exchange (DCBX), priority-based flow control (PFC) in auto mode,
and enhanced transmission selection (ETS) on the Ethernet interfaces that connect the switch to
servers.
•
Configure DCBX and PFC in auto mode on the Ethernet interfaces that connect the switch to disk
devices.
•
Forcibly enable PFC on the Ethernet interfaces connected to other switches.
For more information about DCBX, PFC, and ETS, see Layer 2—LAN Switching Configuration Guide.
Configuring a VFC interface
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a VFC interface and
enter its view.
interface vfc interface-number
N/A
3.
Configure the mode of the
VFC interface.
fc mode { e | f | np }
By default, the mode of a VFC
interface is F.
•
When an FC switch operates in
FCF mode, VFC interfaces support
E and F modes.
•
When an FC switch operates in
NPV mode, VFC interfaces
support F and NP modes.
4.
Bind the VFC interface to the
specified Ethernet interface.
bind interface interface-type
interface-number [ mac
mac-address ]
By default, no Ethernet interface is
bound to a VFC interface.
The VFC interface sends and receives
packets through the Ethernet interface
bound to it.
5.
Add the VFC interface to the
specified VSAN as a trunk
interface.
port trunk vsan vsan-id
By default, a VFC interface is not
added to any VSAN as a trunk
interface.