155 
[SwitchA-vlan10] fcoe enable vsan 1 
[SwitchA-vlan10] quit 
# Configure a static route in VSAN 1. 
[SwitchA] vsan 1 
[SwitchA-vsan1] fc route-static 020000 8 vfc 1 
[SwitchA-vsan1] 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 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.  
<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 
# 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 
[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.  
[SwitchB-Vfc1] port trunk vsan 1 
[SwitchB-Vfc1] quit