Chapter 16: Quality of Service (QoS) (CLI)
Configuring WRED (CLI)
phn-3963_008v000
Page 16-33
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 146
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.
cos
Number
0 – 7
Assigns the WRED profile to a queue in
the designated service bundle.
profile-id
Number
1 – 32
A unique ID that identifies the profile.