H3C Technologies H3C S12500-X Series Switches User Manual
Page 82
73
# Assign interface Ten-GigabitEthernet 1/0/1 to VLAN 10 as a trunk port.
[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, and configure it to operate in E mode.
[SwitchB] interface vfc 2
[SwitchB-Vfc2] fc mode e
# Bind interface VFC 2 to interface Ten-GigabitEthernet 1/0/2, and assign it to VSAN 1 as a trunk
port.
[SwitchB-Vfc2] bind interface ten-gigabitethernet 1/0/2
[SwitchB-Vfc2] port trunk vsan 1
[SwitchB-Vfc2] quit
# Assign interface Ten-GigabitEthernet 1/0/2 to VLAN 10 as a trunk port.
[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
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1.
[SwitchB] vlan 10
[SwitchB-vlan10] fcoe enable vsan 1
[SwitchB-vlan10] quit
# Configure two static routes.
[SwitchB] vsan 1
[SwitchB-vsan1] fc route-static 010000 8 vfc 1
[SwitchB-vsan1] fc route-static 030000 8 vfc 2
[SwitchB-vsan1] quit
3.
Configure Switch C:
# Configure Switch C to operate in advanced mode, save the configuration, and reboot Switch C.
(Skip this step if the switch is operating in advanced mode.)
[SwitchC] 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.
# Configure Switch C to operate in FCF mode, and enable the fabric configuration function in
VSAN 1.
[SwitchC] fcoe-mode fcf
[SwitchC] vsan 1
[SwitchC-vsan1] domain configure enable
# Configure the domain ID as 3.
[SwitchC-vsan1] domain-id 3 static
Non-disruptive reconfiguration or isolating the switch may be performed. Continu
e? [Y/N]:y
[SwitchC-vsan1] quit