# Assign interface Ten-GigabitEthernet 1/1/5 to VLAN 10 as a trunk port.
[SwitchA] interface ten-gigabitethernet 1/1/5
[SwitchA-Ten-GigabitEthernet1/1/5] port link-type trunk
[SwitchA-Ten-GigabitEthernet1/1/5] port trunk permit vlan 10
# Create interface VFC 2, and configure it to operate in E mode.
[SwitchA] interface vfc 2
[SwitchA-Vfc2] fc mode e
# Bind interface VFC 2 to interface Ten-GigabitEthernet 1/1/6, and assign it to VSAN 1 as a trunk
[SwitchA-Vfc2] bind interface ten-gigabitethernet 1/1/6
[SwitchA-Vfc2] port trunk vsan 1
# Assign interface Ten-GigabitEthernet 1/1/6 to VLAN 10 as a trunk port.
[SwitchA] interface ten-gigabitethernet 1/1/6
[SwitchA-Ten-GigabitEthernet1/1/6] port link-type trunk
[SwitchA-Ten-GigabitEthernet1/1/6] port trunk permit vlan 10
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1.
[SwitchA] vlan 10
[SwitchA-vlan10] fcoe enable vsan 1
Configure Switch B:
# Configure Switch B to operate in advanced mode, save the configuration, and reboot Switch B.
(Skip this step if the switch is operating in advanced mode.)
[SwitchB] system-working-mode advance
Do you want to change the system working mode? [Y/N]:y
The system working mode is changed, please save the configuration and reboot the
system to make it effective.
# Configure Switch B to operate in FCF mode, and disable the fabric configuration function in
[SwitchB] fcoe-mode fcf
[SwitchB] vsan 1
[SwitchB-vsan1] undo domain configure enable
# Configure a fabric name.
[SwitchB-vsan1] fabric-name 11:11:11:11:11:11:11:11
# Configure the domain ID as 2.
[SwitchB-vsan1] domain-id 2 static
Non-disruptive reconfiguration or isolating the switch may be performed. Continu
# Enable LLDP globally.
[SwitchB] lldp global enable