99
# 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. (Skip this step if the switch is operating in
advanced mode.)
<SwitchB> system-view
[SwitchB] system-working-mode AdvancedBridge
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.
# Save the configuration.
[SwitchB] save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[SwitchB] quit
# Reboot the switch.
<SwitchB> reboot
Start to check configuration with next startup configuration file, please
wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
# Configure the switch to operate in FCF mode.
<SwitchB> system-view
[SwitchB] fcoe-mode fcf
# Create VSAN 1.
[SwitchB] vsan 1