Verifying the configuration – H3C Technologies H3C S10500 Series Switches User Manual

Page 119

Advertising
background image

108

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

# Configure interface Ten-GigabitEthernet 1/0/2 to operate in FCF mode.

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

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

2.

Configure the FCF switch:
# Configure the switch to operate in advanced mode, save the configuration, and reboot the
switch. (Skip this step if the switch is operating in advanced mode.)

<FCF> system-view

[FCF] 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.

[FCF] save

[FCF] quit

<FCF> reboot

# Configure the switch to operate in FCF mode.

<FCF> system-view

[FCF] fcoe-mode fcf

# Set the FC-MAP value to 0x0EFC01.

[FCF] fcoe fcmap 0efc01

# Create VSAN 10.

[FCF] vsan 10

[FCF-vsan10] quit

# Create interface VFC 2.

[FCF] interface vfc 2

# Configure the mode of VFC 2 as F.

[FCF-vfc2] fc mode f

# Assign VFC 2 to VSAN 10.

[FCF-vfc2] port trunk vsan 10

# Bind VFC 2 to interface Ten-GigabitEthernet 1/0/2.

[FCF-vfc2] bind interface ten-gigabitethernet 1/0/2

[FCF-Vfc2] quit

# Configure Ten-GigabitEthernet 1/0/2 as a trunk port, and assign the port to VLAN 10.

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

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

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

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

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

[FCF] vlan 10

[FCF-vlan10] fcoe enable vsan 10

Verifying the configuration

# Display ENode information obtained by the Transit switch.

[Transit] display fip-snooping enode

Advertising