Step
4.
Configure a queue.
For more information about the qos wrr, qos wrr byte-count, and qos wrr group sp commands, see ACL
and QoS Command Reference.
Configuring PFC parameters
To prevent packets with an 802.1p priority value from being dropped, enable PFC for the 802.1p priority
value. This feature reduces the sending rate of packets carrying this priority when network congestion
occurs.
The device uses PFC parameters to negotiate with the server adapter and to enable PFC for the specified
802.1p priorities on the server adapter.
To configure PFC parameters:
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet interface
view.
3.
Enable the Ethernet interface to
automatically negotiate with its
peer to decide whether to
enable PFC.
4.
Enable PFC for the specified
802.1p priorities.
5.
Configure the interface to trust
the 802.1p priority carried in
packets.
For more information about the priority-flow-control and priority-flow-control no-drop dot1p commands,
see Interface Command Reference.
Command
•
Add a queue to WRR priority group 1
and configure the scheduling weight
for the queue:
qos wrr queue-id group 1 byte-count
schedule-value
•
Configure a queue to use strict priority
queuing:
qos wrr queue-id group sp
Command
system-view
interface interface-type
interface-number
priority-flow-control auto
priority-flow-control no-drop
dot1p dot1p-list
qos trust dot1p
196
Remarks
Use one or both commands.
Remarks
N/A
N/A
By default, PFC is disabled.
To advertise the PFC data, you
must enable PFC in
autonegotiation mode.
By default, PFC is disabled for all
802.1p priorities.
HP recommends that you enable
PFC for the 802.1p priority of
FCoE traffic. If you enable PFC for
multiple 802.1p priorities, packet
loss might occur during periods of
congestion.
By default, an interface trusts the
802.1p priority carried in packets.