FibeAir IP-20C/S/E
User Guide
Ceragon Proprietary and Confidential
Page 485 of 597
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%
18.4.3
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 179: 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.
Examples
The following command assigns WRED Profile 2 to the CoS 0 queue in Service
Bundle 1, on GbE 1:
eth type eth [1/1]> wred set service-bundle-id 1 cos 0 profile-
id 2
The following command displays the WRED profile assigned to the CoS
0 queue in Service Bundle 1, on GbE 1:
eth type eth [1/1]> wred show profile-id service-bundle-id
1 cos 0