FibeAir IP-20C/S/E
User Guide
Ceragon Proprietary and Confidential
Page 483 of 597
18.4
Configuring WRED (CLI)
This section includes:
Configuring WRED Profiles (CLI)
Assigning a WRED Profile to a Queue (CLI)
18.4.1
WRED Overview (CLI)
Weighted Random Early Detection (WRED) enables differentiation between
higher and lower priority traffic based on CoS. You can define up to 30 WRED
profiles. Each profile contains a green traffic curve and a yellow traffic curve.
These curves describe the probability of randomly dropping frames as a
function of queue occupancy.
The system also includes two pre-defined read-only profiles. These profiles
are assigned WRED profile IDs 31 and 32.
A WRED profile can be assigned to each queue. The WRED profile assigned to
the queue determines whether or not to drop incoming frames according to
the occupancy of the queue. As the queue occupancy grows, the probability of
dropping each incoming frame increases as well. As a consequence,
statistically more TCP flows will be restrained before traffic congestion occurs.
18.4.2
Configuring WRED Profiles (CLI)
To configure a WRED profile, enter the following command in root view:
root> ethernet qos wred-profile-tbl add profile-id <profile-id>
green-min-threshold <green-min-threshold> green-max-threshold
<green-max-threshold> green-max-drop <green-max-drop> yellow-
min-threshold <yellow-min-threshold> yellow-max-threshold
<yellow-max-threshold> yellow-max-drop <yellow-max-drop>
To edit an existing WRED profile, enter the following command in root view:
root> ethernet qos wred-profile-tbl edit profile-id <profile-
id> green-min-threshold <green-min-threshold> green-max-
threshold <green-max-threshold> green-max-drop <green-max-drop>
yellow-min-threshold <yellow-min-threshold> yellow-max-
threshold <yellow-max-threshold> yellow-max-drop <yellow-max-
drop>
To display a WRED profile, enter the following command in root view:
root> ethernet qos wred-profile-tbl show profile-id <profile-
id>
To delete a WRED profile, enter the following command in root view:
root> ethernet qos wred-profile-tbl delete profile-id <profile
id>
You cannot delete a WRED profile that is assigned to a queue. You must first
remove the WRED profile from the queue by replacing it with a different
WRED profile. You can then delete the WRED profile.