Configuring ETS parameters

ETS provides committed bandwidth. To avoid packet loss caused by congestion, the device performs the following tasks:

To configure ETS parameters, you must configure the 802.1p-to-local priority mapping and group-based WRR queuing.

Configuring the 802.1p-to-local priority mapping

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter 802.1p-to-local priority mapping table view.

qos map-table dot1p-lp

N/A

3. Configure the priority mapping table to map the specified 802.1p priority values to a local precedence value.

import import-value-list export export-value

For information about the default priority mapping tables, see ACL and QoS Configuration Guide.

4. Return to system view.

quit

N/A

5. Enter Ethernet interface view.

interface interface-type interface-number

N/A

6. Configure the interface to trust the 802.1p priority carried in packets.

qos trust dot1p

By default, the port priority of the incoming port is trusted.

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 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.