H3C Technologies H3C S12500-X Series Switches User Manual

Page 35

Advertising
background image

26

[SwitchA-vlan10] quit

# Assign interface Ten-GigabitEthernet 1/0/1 to VLAN 10, and configure the interface to operate

in ENode mode.

[SwitchA] interface ten-gigabitethernet 1/0/1

[SwitchA-Ten-GigabitEthernet1/0/1] port link-mode bridge

[SwitchA-Ten-GigabitEthernet1/0/1] port link-type trunk

[SwitchA-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10

[SwitchA-Ten-GigabitEthernet1/0/1] fip-snooping port-mode enode

[SwitchA-Ten-GigabitEthernet1/0/1] quit

# Assign interface Ten-GigabitEthernet 1/0/2 to VLAN 10, and configure the interface to operate

in FCF mode.

[SwitchA] interface ten-gigabitethernet 1/0/2

[SwitchA-Ten-GigabitEthernet1/0/2] port link-mode bridge

[SwitchA-Ten-GigabitEthernet1/0/2] port link-type trunk

[SwitchA-Ten-GigabitEthernet1/0/2] port trunk permit vlan 10

[SwitchA-Ten-GigabitEthernet1/0/2] fip-snooping port-mode fcf

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

# Configure the FC-MAP value as 0x0EFC01 for VLAN 10.

[SwitchA] vlan 10

[SwitchA-vlan10] fip-snooping fc-map 0efc01

[SwitchA-vlan10] 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-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.

# Configure Switch B to operate in FCF mode.

<SwitchB> system-view

[SwitchB] fcoe-mode fcf

# Configure the FC-MAP value as 0x0EFC01.

[SwitchB] fcoe fcmap 0efc01

# Create VSAN 10.

[SwitchB] vsan 10

[SwitchB-vsan10] quit

# Create interface VFC 2, and configure it to operate in F mode.

[SwitchB] interface vfc 2

[SwitchB-Vfc2] fc mode f

# 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 Ten-GigabitEthernet 1/0/2 to VLAN 10 as a trunk port.

Advertising
This manual is related to the following products: