Verifying the configuration – H3C Technologies H3C S10500 Series Switches User Manual
Page 81
![background image](https://www.manualsdir.com/files/812733/content/doc081.png)
70
[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
[SwitchB] quit
# Configure the switch to operate in FCF mode.
[SwitchB] fcoe-mode fcf
# Create VSAN 2 and enable the fabric configuration feature for VSAN 2.
[SwitchB] vsan 2
[SwitchB-vsan2] domain configure enable
# Set the domain ID to 2.
[SwitchB-vsan2] domain-id 2 static
# Enable FSPF.
[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.
[SwitchB-Vfc1] bind interface ten-gigabitethernet 1/0/1
# Assign VFC 1 to VSAN 2 as a trunk port.
[SwitchB-Vfc1] port trunk vsan 2
[SwitchB-Vfc1] quit
# Configure Ten-GigabitEthernet 1/0/1 as a trunk port, and assign the port to VLAN 10.
[SwitchB] interface ten-gigabitethernet 1/0/1
[SwitchB-Ten-GigabitEthernet1/0/1] port link-type trunk
[SwitchB-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10
[SwitchB-Ten-GigabitEthernet1/0/1] quit
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 2.
[SwitchB] vlan 10
[SwitchB-vlan10] fcoe enable vsan 2
[SwitchB-vlan10] quit
# Enable FSPF for VFC 1.
[SwitchB] interface vfc 1
[SwitchB-Vfc1] undo fspf silent vsan 2
[SwitchB-Vfc1] quit
Verifying the configuration
# Display the FSPF neighbor information for Switch A.
[SwitchA] display fspf neighbor
FSPF neighbor information of VSAN 2(01):