182
Step Command Remarks
3.
Enable WRR queuing.
qos wrr byte-count
By default, byte-count WRR
queuing is enabled on an
interface.
4.
Configure a 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 one or both commands.
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 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 PFC in auto mode on
the Ethernet interface.
priority-flow-control auto
By default, PFC is disabled.
To advertise the PFC data, you
must enable PFC in auto mode.
4.
Enable PFC for the specified
802.1p priorities.
priority-flow-control no-drop
dot1p dot1p-list
By default, PFC is disabled for all
802.1p priorities.
For more information about the
priority-flow-control
and
priority-flow-control no-drop dot1p
commands, see
Interface Command Reference
.
Configuring LLDP trapping and LLDP-MED
trapping
LLDP trapping or LLDP-MED trapping notifies the network management system of events such as
newly detected neighboring devices and link failures.
To prevent excessive LLDP traps from being sent when the topology is unstable, set a trap
transmission interval for LLDP.
To configure LLDP trapping and LLDP-MED trapping:
Step Command
Remarks
1.
Enter system view.
system-view
N/A