
Chapter 18: Quality of Service (QoS) (CLI)
Configuring WRED (CLI)
phn-3963_004v000
Page 18-355
The new profile has the following parameters:
profile-id – 2
green-min-threshold – 8000 Kbytes
green-max-threshold – 8000 Kbytes
green-max-drop – 100%
yellow-min-threshold – 8000 Kbytes
yellow-max-threshold – 8000 Kbytes
yellow-max-drop – 100%
The following command edits the WRED profile created by the previous command:
root> ethernet qos wred-profile-tbl edit profile-id 2 green-min-threshold
8000 green-max-threshold 8000 green-max-drop 100 yellow-min-threshold
4000 yellow-max-threshold 4000 yellow-max-drop 100
The edited profile has the following parameters:
green-min-threshold – 8000 Kbytes
green-max-threshold – 8000 Kbytes
green-max-drop – 100%
yellow-min-threshold – 4000 Kbytes
yellow-max-threshold –4000 Kbytes
yellow-max-drop – 100%
Assigning a WRED Profile to a Queue (CLI)
To assign a WRED profile to a queue, go to interface view for the interface and enter the following
command:
eth type eth [x/x]> wred set service-bundle-id <service-bundle-id> cos
<cos> profile-id <profile-id>
To display the WRED profile assigned to a queue, go to interface view for the interface and enter
the following command:
eth type eth [x/x]> wred show profile-id service-bundle-id <service-
bundle-id> cos <cos>
Table 171 Assigning WRED Profile to Queue CLI Parameters
Parameter
Input Type
Permitted Values
Description
service-
bundle-id
Number
1 – 63
Note: In the
current release,
only Service
Bundle 1 is
supported.
Assigns the WRED profile to a
Service Bundle. Service Bundles are
bundles of queues, grouped
together in order to configure
common egress characteristics for
specific services.