R21xx-HP FlexFabric 11900 FCoE Configuration Guide

18
[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.
# Create VSAN 10 and configure Switch B to operate in FCF mode.
<SwitchB> system-view
[SwitchB] fcoe-mode fcf
[SwitchB] vsan 10
[SwitchB-vsan10] quit
# Create interface VFC 1, configure it to operate in E mode, bind it to interface
Ten-GigabitEthernet 1/0/2, and assign it to VSAN 10 as a trunk port.
[SwitchB] interface vfc 1
[SwitchB-Vfc1] fc mode e
[SwitchB-Vfc1] bind interface ten-gigabitethernet1/0/2
[SwitchB-Vfc1] port trunk vsan 10
[SwitchB-Vfc1] quit
# Configure interface Ten-GigabitEthernet 1/0/2 to allow VLAN 20.
[SwitchB] interface ten-gigabitethernet1/0/2
[SwitchB-Ten-GigabitEthernet1/0/2] port link-type trunk
[SwitchB-Ten-GigabitEthernet1/0/2] port trunk permit vlan 20
[SwitchB-Ten-GigabitEthernet1/0/2] quit
# Enable FCoE for VLAN 20 and map it to VSAN 10.
[SwitchB] vlan 20
[SwitchB-vlan20] fcoe enable vsan 10