R211x-HP Flexfabric 11900 FCoE Configuration Guide

48
[SwitchA-Vfc1] quit
# Assign interface Ten-GigabitEthernet 1/0/1 to VLAN 10 as a trunk port.
[SwitchA] interface ten-gigabitethernet 1/0/1
[SwitchA-Ten-GigabitEthernet1/0/1] port link-type trunk
[SwitchA-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10
[SwitchA-Ten-GigabitEthernet1/0/1] quit
# 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/0/2, and assign it to VSAN 1 as a trunk
port.
[SwitchA-Vfc2] bind interface ten-gigabitethernet 1/0/2
[SwitchA-Vfc2] port trunk vsan 1
[SwitchA-Vfc2] quit
# Assign interface Ten-GigabitEthernet 1/0/2 to VLAN 10 as a trunk port.
[SwitchA] interface ten-gigabitethernet 1/0/2
[SwitchA-Ten-GigabitEthernet1/0/2] port link-type trunk
[SwitchA-Ten-GigabitEthernet1/0/2] port trunk permit vlan 10
[SwitchA-Ten-GigabitEthernet1/0/2] quit
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1.
[SwitchA] vlan 10
[SwitchA-vlan10] fcoe enable vsan 1
[SwitchA-vlan10] quit
# Permit the members in the default zone in VSAN 1 to access each other.
[SwitchA] vsan 1
[SwitchA-vsan1] zone default-zone permit
[SwitchA-vsan1] quit
2. Configure Switch B:
# Configure the switch to operate in advanced mode, save the configuration, and reboot the
switch. (Skip this step if the switch is operating in advanced mode.)
<SwitchB> system-view
[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 the switch to operate in FCF mode, and enable the fabric configuration function in
VSAN 1. By default, the fabric configuration function is enabled.
<SwitchB> system-view
[SwitchB] fcoe-mode fcf
[SwitchB] vsan 1
[SwitchB-vsan1] domain configure enable
# Set the priority value to 1, so that Switch B can be selected as the principal switch.
[SwitchB-vsan1] priority 1
[SwitchB-vsan1] quit
# Create interface VFC 1, and configure it to operate in E mode.
[SwitchB] interface vfc 1