H3C Technologies H3C S10500 Series Switches User Manual
Page 111
100
# Bind VFC 2 to interface Ten-GigabitEthernet 1/0/2.
[SwitchA-Vfc2] bind interface ten-gigabitethernet 1/0/2
# Assign VFC 2 to VSAN 1 as a trunk port.
[SwitchA-Vfc2] port trunk vsan 1
[SwitchA-Vfc2] quit
# Configure Ten-GigabitEthernet 1/0/2 as a trunk port, and assign the port to VLAN 10.
[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
# Create interface VFC 3.
[SwitchA] interface vfc 3
# Bind VFC 3 to interface Ten-GigabitEthernet 1/0/3.
[SwitchA-Vfc3] bind interface ten-gigabitethernet 1/0/3
# Assign VFC 3 to VSAN 1 as a trunk port.
[SwitchA-Vfc3] port trunk vsan 1
[SwitchA-Vfc3] quit
# Configure Ten-GigabitEthernet 1/0/3 as a trunk port, and assign the port to VLAN 10.
[SwitchA] interface ten-gigabitethernet 1/0/3
[SwitchA-Ten-GigabitEthernet1/0/3] port link-type trunk
[SwitchA-Ten-GigabitEthernet1/0/3] port trunk permit vlan 10
[SwitchA-Ten-GigabitEthernet1/0/3] 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
# Configure the mode of the uplink port VFC 3 as NP.
[SwitchA] interface vfc 3
[SwitchA-Vfc3] fc mode np
[SwitchA-Vfc3] quit
# Configure the mode of the downlink ports VFC 1 and VFC 2 as F.
[SwitchA] interface vfc 1
[SwitchA-Vfc1] fc mode f
[SwitchA-Vfc1] quit
[SwitchA] interface vfc 2
[SwitchA-Vfc2] fc mode f
[SwitchA-Vfc2] 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-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.
[SwitchB] save