H3C Technologies H3C S10500 Series Switches User Manual
Page 137
![background image](https://www.manualsdir.com/files/812733/content/doc137.png)
126
[SwitchA] 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.
[SwitchA] save
[SwitchA] quit
# Configure the switch to operate in FCF mode.
[SwitchA] fcoe-mode fcf
# Enable the fabric configuration feature for VSAN 1.
[SwitchA] vsan 1
[SwitchA-vsan1] domain configure enable
# Set the domain ID to 1.
[SwitchA-vsan1] domain-id 1 static
# Disable FSPF for VSAN 1.
[SwitchA-vsan1] undo fspf enable
# Configure static routes.
[SwitchA-vsan1] fc route-static 020000 8 vfc 1
[SwitchA-vsan1] fc route-static 030000 8 vfc 1
[SwitchA-vsan1] quit
# Create interface VFC 1.
[SwitchA] interface vfc 1
# Configure the mode of VFC 1 as E.
[SwitchA-Vfc1] fc mode e
# Bind VFC 1 to interface Ten-GigabitEthernet 1/0/1.
[SwitchA-Vfc1] bind interface ten-gigabitethernet 1/0/1
# Assign VFC 1 to VSAN 1 as a trunk port.
[SwitchA-Vfc1] port trunk vsan 1
[SwitchA-Vfc1] quit
# Configure Ten-GigabitEthernet 1/0/1 as a trunk port, and assign the port to VLAN 10.
[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
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1.
[SwitchA] vlan 10
[SwitchA-vlan10] fcoe enable vsan 1
[SwitchA-vlan10] 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