beautypg.com

H3C Technologies H3C S12500-X Series Switches User Manual

Page 30

background image

21

[SwitchB-vsan10] 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 10 as a
trunk port.

[SwitchB-Vfc2] bind interface ten-gigabitethernet 1/0/2

[SwitchB-Vfc2] port trunk vsan 10

[SwitchB-Vfc2] quit

# Assign interface Ten-GigabitEthernet 1/0/2 to VLAN 20 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 20

[SwitchB-Ten-GigabitEthernet1/0/2] quit

# Enable FCoE for VLAN 20 and map VLAN 20 to VSAN 10.

[SwitchB] vlan 20

[SwitchB-vlan20] fcoe enable vsan 10

[SwitchB-vlan20] quit

This manual is related to the following products: