
258
For more information about the
qos map-table
,
qos map-table
color
, and
import
commands, see
ACL
and QoS Command Reference
.
Configuring group-based WRR queuing
You can configure group-based WRR queuing to allocate bandwidth.
To configure group-based WRR queuing:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view.
interface
interface-type interface-number
N/A
3.
Enable WRR queuing.
qos wrr byte-count
By default, byte-count WRR is
used.
4.
Configure the queue.
•
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 SP queuing:
qos wrr
queue-id
group sp
Use at least one command.
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 from being dropped, enable PFC for the 802.1p priority. 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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet interface
view.
interface
interface-type
interface-number
N/A
3.
Enable the Ethernet interface to
automatically negotiate with its
peer to decide whether to
enable PFC.
priority-flow-control auto
By default, PFC is disabled.
To advertise the PFC data, you
must enable PFC in
autonegotiation mode.