165 
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 
# Enable the fabric configuration feature in VSAN 1. 
[SwitchB] vsan 1 
[SwitchB-vsan1] domain configure enable 
# Configure the domain ID as 2 in VSAN 1. 
[SwitchB-vsan1] domain-id 2 static 
# Disable FSPF in VSAN 1. 
[SwitchB-vsan1] undo fspf enable 
# Configure a static route.  
[SwitchB-vsan1] fc route-static 010000 8 vfc 1 
[SwitchB-vsan1] 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 1 as a trunk port.  
[SwitchB-Vfc1] port trunk vsan 1 
[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 
# Create interface VFC 2.  
[SwitchB] interface vfc 2 
# Configure the mode of VFC 2 as E.  
[SwitchB-Vfc2] fc mode e 
# Bind VFC 2 to interface Ten-GigabitEthernet 1/0/2.  
[SwitchB-Vfc2] bind interface ten-gigabitethernet 1/0/2 
# Assign VFC 2 to VSAN 1 as a trunk port.  
[SwitchB-Vfc2] port trunk vsan 1 
[SwitchB-Vfc2] quit 
# Configure Ten-GigabitEthernet 1/0/2 as a trunk port, and assign the port to VLAN 10.  
[SwitchB] interface ten-gigabitethernet 1/0/2 
[SwitchB-Ten-GigabitEthernet1/0/2] port link-type trunk 
[SwitchB-Ten-GigabitEthernet1/0/2] port trunk permit vlan 10 
[SwitchB-Ten-GigabitEthernet1/0/2] quit