H3C Technologies H3C S5830V2 Series Switches User Manual
Page 120
109
# Create VSAN 1.
[SwitchA] vsan 1
[SwitchA-vsan1] quit
# Change Ethernet interface Ten-GigabitEthernet 1/0/3 into FC interface FC 1/0/3, which acts
as an uplink port.
[SwitchA] interface ten-gigabitethernet 1/0/3
[SwitchA-Ten-GigabitEthernet1/0/3] port-type fc
# Configure the mode of interface FC 1/0/3 as NP.
[SwitchA-Fc1/0/3] fc mode np
# Configure interface FC 1/0/3 to autonegotiate the speed.
[SwitchA-Fc1/0/3] speed auto
# Configure the trunk mode of interface FC 1/0/3 as On, and assign interface FC 1/0/3 to
VSAN 1 as a trunk port.
[SwitchA-Fc1/0/3] port trunk mode on
[SwitchA-Fc1/0/3] port trunk vsan 1
[SwitchA-Fc1/0/3] quit
# Change Ethernet interface Ten-GigabitEthernet 1/0/1 into FC interface FC 1/0/1, which acts
as a downlink port.
[SwitchA] interface ten-gigabitethernet 1/0/1
[SwitchA-Ten-GigabitEthernet1/0/1] port-type fc
# Configure the mode of interface FC 1/0/1 as F.
[SwitchA-Fc1/0/1] fc mode f
# Configure interface FC 1/0/1 to autonegotiate the speed.
[SwitchA-Fc1/0/1] speed auto
# Assign FC interface FC 1/0/1 to VSAN 1 as an access port.
[SwitchA-Fc1/0/1] port access vsan 1
[SwitchA-Fc1/0/1] quit
# Change Ethernet interface Ten-GigabitEthernet 1/0/2 into FC interface FC 1/0/2, which acts
as a downlink port.
[SwitchA] interface ten-gigabitethernet 1/0/2
[SwitchA-Ten-GigabitEthernet1/0/2] port-type fc
# Configure the mode of interface FC 1/0/2 as F.
[SwitchA-Fc1/0/2] fc mode f
# Configure interface FC 1/0/2 to autonegotiate the speed.
[SwitchA-Fc1/0/2] speed auto
# Assign FC interface FC 1/0/2 to VSAN 1 as an access port.
[SwitchA-Fc1/0/2] port access vsan 1
[SwitchA-Fc1/0/2] 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. (Skip this step if the switch is operating in
advanced mode.)