HP 5920 SERIES Fc And Fcoe Configuration Manual page 41

Hide thumbs Also See for 5920 SERIES:
Table of Contents

Advertisement

# Create a behavior named DCBX.
[Sysname] traffic behavior DCBX
# Configure the behavior to mark packets with 802.1p priority value 3.
[Sysname-behavior-DCBX] remark dot1p 3
[Sysname-behavior-DCBX] quit
# Create a QoS policy named DCBX.
[Sysname] qos policy DCBX
# Associate class DCBX with traffic behavior DCBX in the QoS policy, and specify that the
association apply to DCBX.
[Sysname-qospolicy-DCBX] classifier DCBX behavior DCBX mode dcbx
[Sysname-qospolicy-DCBX] quit
# Enable LLDP and DCBX TLV advertising on interface Ten-GigabitEthernet 1/0/1.
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] lldp enable
[Sysname-Ten-GigabitEthernet1/0/1] lldp tlv-enable dot1-tlv dcbx
# Apply QoS policy DCBX to the outgoing traffic of Ten-GigabitEthernet 1/0/1.
[Sysname-Ten-GigabitEthernet1/0/1] qos apply policy DCBX outbound
4.
Configure PFC:
# Enable PFC in auto mode on interface Ten-GigabitEthernet 1/0/1.
[Sysname-Ten-GigabitEthernet1/0/1] priority-flow-control auto
# Enable PFC for 802.1p priority 3 on the interface.
[Sysname-Ten-GigabitEthernet1/0/1] priority-flow-control no-drop dot1p 3
# Configure the interface to trust the 802.1p priority included in incoming packets.
[Sysname-Ten-GigabitEthernet1/0/1] qos trust dot1p
[Sysname-Ten-GigabitEthernet1/0/1] quit
5.
Configure ETS:
# Configure the 802.1p-local priority mapping table as follows:
Map 802.1p priority value 3 to local precedence 1.
Map the other 802.1p priorities to local precedence 0.
[Sysname] qos map-table dot1p-lp
[Sysname-maptbl-dot1p-lp] import 3 export 1
[Sysname-maptbl-dot1p-lp] import 0 export 0
[Sysname-maptbl-dot1p-lp] import 1 export 0
[Sysname-maptbl-dot1p-lp] import 2 export 0
[Sysname-maptbl-dot1p-lp] import 4 export 0
[Sysname-maptbl-dot1p-lp] import 5 export 0
[Sysname-maptbl-dot1p-lp] import 6 export 0
[Sysname-maptbl-dot1p-lp] import 7 export 0
[Sysname-maptbl-dot1p-lp] quit
# Enable byte-count WRR on interface Ten-GigabitEthernet 1/0/1.
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-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).
34

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents