beautypg.com

H3C Technologies H3C S5830V2 Series Switches User Manual

Page 181

background image

170

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

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

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

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

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

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

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

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

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

[SwitchA-Ten-GigabitEthernet2/0/5] priority-flow-control enable

[SwitchA-Ten-GigabitEthernet2/0/5] priority-flow-control no-drop dot1p 3

[SwitchA-Ten-GigabitEthernet2/0/5] qos trust dot1p

[SwitchA-Ten-GigabitEthernet2/0/5] quit

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

[SwitchA-Ten-GigabitEthernet2/0/6] priority-flow-control enable

[SwitchA-Ten-GigabitEthernet2/0/6] priority-flow-control no-drop dot1p 3

[SwitchA-Ten-GigabitEthernet2/0/6] qos trust dot1p

[SwitchA-Ten-GigabitEthernet2/0/6] quit

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

[SwitchA-Ten-GigabitEthernet2/0/7] priority-flow-control enable

[SwitchA-Ten-GigabitEthernet2/0/7] priority-flow-control no-drop dot1p 3

[SwitchA-Ten-GigabitEthernet2/0/7] qos trust dot1p

[SwitchA-Ten-GigabitEthernet2/0/7] quit

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

[SwitchA-Ten-GigabitEthernet2/0/8] priority-flow-control enable

[SwitchA-Ten-GigabitEthernet2/0/8] priority-flow-control no-drop dot1p 3

[SwitchA-Ten-GigabitEthernet2/0/8] qos trust dot1p

[SwitchA-Ten-GigabitEthernet2/0/8] quit

5.

Configure ETS:
# Configure the 802.1p-local priority mapping table to map 802.1p priority value 3 to local
precedence 1 and map the other 802.1p priority values to local precedence 0.

[SwitchA] qos map-table dot1p-lp

[SwitchA-maptbl-dot1p-lp] import 3 export 1

[SwitchA-maptbl-dot1p-lp] import 0 export 0

[SwitchA-maptbl-dot1p-lp] import 1 export 0

[SwitchA-maptbl-dot1p-lp] import 2 export 0

[SwitchA-maptbl-dot1p-lp] import 4 export 0

[SwitchA-maptbl-dot1p-lp] import 5 export 0

[SwitchA-maptbl-dot1p-lp] import 6 export 0

[SwitchA-maptbl-dot1p-lp] import 7 export 0

[SwitchA-maptbl-dot1p-lp] quit

# Enable byte-count WRR on interface Ten-GigabitEthernet 1/0/1.

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

[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr byte-count

# Configure WRR on interface Ten-GigabitEthernet 1/0/1:

{

Assign 50% of the interface bandwidth to the FCoE traffic (traffic assigned to queue 1).

{

Assign 50% of the interface bandwidth to Ethernet data traffic (traffic assigned to queue 0).