H3C Technologies H3C S10500 Series Switches User Manual

Page 168

Advertising
background image

157

[SwitchC-Ten-GigabitEthernet1/0/5] qos trust dot1p

[SwitchC-Ten-GigabitEthernet1/0/5] quit

# Configure interfaces Ten-GigabitEthernet 1/0/6 through Ten-GigabitEthernet 1/0/8 in the

same way Ten-GigabitEthernet 1/0/5 is configured.

[SwitchC] interface ten-gigabitethernet 1/0/6

[SwitchC-Ten-GigabitEthernet1/0/6] priority-flow-control enable

[SwitchC-Ten-GigabitEthernet1/0/6] priority-flow-control no-drop dot1p 3

[SwitchC-Ten-GigabitEthernet1/0/6] qos trust dot1p

[SwitchC-Ten-GigabitEthernet1/0/6] quit

[SwitchC] interface ten-gigabitethernet 1/0/7

[SwitchC-Ten-GigabitEthernet1/0/7] priority-flow-control enable

[SwitchC-Ten-GigabitEthernet1/0/7] priority-flow-control no-drop dot1p 3

[SwitchC-Ten-GigabitEthernet1/0/7] qos trust dot1p

[SwitchC-Ten-GigabitEthernet1/0/7] quit

[SwitchC] interface ten-gigabitethernet 1/0/8

[SwitchC-Ten-GigabitEthernet1/0/8] priority-flow-control enable

[SwitchC-Ten-GigabitEthernet1/0/8] priority-flow-control no-drop dot1p 3

[SwitchC-Ten-GigabitEthernet1/0/8] qos trust dot1p

[SwitchC-Ten-GigabitEthernet1/0/8] quit

5.

Configure FCoE:
# Configure the switch to operate in FCF mode.

[SwitchC] fcoe-mode fcf

# Enable the fabric configuration feature for VSAN 100. By default, the fabric configuration
feature is enabled.

[SwitchC] vsan 100

[SwitchC-vsan100] domain configure enable

# Set the switch priority to 1, so the switch can be selected as the principal switch.

[SwitchC-vsan100] priority 1

# Set the domain ID to 1.

[SwitchC-vsan100] domain-id 1 preferred

Non-disruptive reconfiguration or isolating the switch may be performed. Continue?

[Y/N]:y

# Enable FSPF.

[SwitchC-vsan100] fspf enable

[SwitchC-vsan100] quit

# Create interface VFC 1.

[SwitchC] interface vfc 1

# Configure the mode of VFC 1 as F.

[SwitchC-Vfc1] fc mode f

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

[SwitchC-Vfc1] bind interface ten-gigabitethernet 1/0/1

# Assign VFC 1 to VSAN 100 as a trunk port.

[SwitchC-Vfc1] port trunk vsan 100

[SwitchC-Vfc1] quit

# Create interface VFC 10.

[SwitchC] interface vfc 10

Advertising