Configuration procedure, Configuring the fc-map value, Configuring the fka advertisement period value – H3C Technologies H3C S12500-X Series Switches User Manual
Page 29
20
[SwitchA-Ten-GigabitEthernet1/0/1] priority-flow-control auto
[SwitchA-Ten-GigabitEthernet1/0/1] priority-flow-control no-drop dot1p 3
[SwitchA-Ten-GigabitEthernet1/0/1] qos trust dot1p
[SwitchA-Ten-GigabitEthernet1/0/1] quit
# Create interface VFC 1, and configure it to operate in F mode.
[SwitchA] interface vfc 1
[SwitchA-Vfc1] fc mode f
# Bind interface VFC 1 to interface Ten-GigabitEthernet 1/0/1, and assign it to VSAN 10 as a
trunk port.
[SwitchA-Vfc1] bind interface ten-gigabitethernet 1/0/1
[SwitchA-Vfc1] port trunk vsan 10
[SwitchA-Vfc1] quit
# Assign interface Ten-GigabitEthernet 1/0/1 to VLAN 20 as a trunk port.
[SwitchA] interface ten-gigabitethernet 1/0/1
[SwitchA-Ten-GigabitEthernet1/0/1] port link-type trunk
[SwitchA-Ten-GigabitEthernet1/0/1] port trunk permit vlan 20
[SwitchA-Ten-GigabitEthernet1/0/1] quit
# Create interface VFC 2, and configure it to operate in E mode.
[SwitchA] interface vfc 2
[SwitchA-Vfc2] fc mode e
# Bind interface VFC 2 to interface Ten-GigabitEthernet 1/0/2, and assign it to VSAN 10 as a
trunk port.
[SwitchA-Vfc2] bind interface ten-gigabitethernet 1/0/2
[SwitchA-Vfc2] port trunk vsan 10
[SwitchA-Vfc2] quit
# Assign interface Ten-GigabitEthernet 1/0/2 to VLAN 20 as a trunk port.
[SwitchA] interface ten-gigabitethernet 1/0/2
[SwitchA-Ten-GigabitEthernet1/0/2] port link-type trunk
[SwitchA-Ten-GigabitEthernet1/0/2] port trunk permit vlan 20
[SwitchA-Ten-GigabitEthernet1/0/2] quit
# Enable FCoE for VLAN 20 and map VLAN 20 to VSAN 10.
[SwitchA] vlan 20
[SwitchA-vlan20] fcoe enable vsan 10
[SwitchA-vlan20] quit
2.
Configure Switch B:
# Configure Switch B to operate in advanced mode, save the configuration, and reboot Switch B.
(Skip this step if the switch is operating in advanced mode.)
[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.
# Configure Switch B to operate in FCF mode, and create VSAN 10.
[SwitchB] fcoe-mode fcf
[SwitchB] vsan 10