H3C Technologies H3C S5830V2 Series Switches User Manual
Page 95
84
# Enable FCoE for VLAN 10, and map VLAN 10 to VSAN 2.
[SwitchA] vlan 10
[SwitchA-vlan10] fcoe enable vsan 2
[SwitchA-vlan10] quit
# Enable FSPF for VFC 1.
[SwitchA] interface vfc 1
[SwitchA-Vfc1] undo fspf silent vsan 2
[SwitchA-Vfc1] 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-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.
# 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.
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] fcoe-mode fcf
# Create VSAN 2 and enable the fabric configuration function for VSAN 2.
[SwitchB] vsan 2
[SwitchB-vsan2] domain configure enable
# Configure the domain ID as 2 for the switch.
[SwitchB-vsan2] domain-id 2 static
# Enable FSPF globally.
[SwitchB-vsan2] fspf enable
[SwitchB-vsan2] quit
# Create interface VFC 1.
[SwitchB] interface vfc 1
# Configure the mode of VFC 1 as E.
[SwitchB-Vfc1] fc mode e
# Bind VFC 1 to interface Ten-GigabitEthernet 1/0/1.