Chapter 16: Quality of Service (QoS) (CLI)
Configuring Scheduling (CLI)
phn-3963_008v000
Page 16-44
root> ethernet qos wfq-weight-profile-tbl add profile-id <profile.id>
cos0-weight <cos0-weight> cos1-weight <cos1-weight> cos2-weight <cos2-
weight> cos3-weight <cos3-weight> cos4-weight <cos4-weight> cos5-weight
<cos5-weight> cos6-weight <cos6-weight> cos7-weight <cos7-weight>
To edit an existing WFQ profile, enter the following command in root view:
root> ethernet qos wfq-weight-profile-tbl edit profile-id <profile.id>
cos0-weight <cos0-weight> cos1-weight <cos1-weight> cos2-weight <cos2-
weight> cos3-weight <cos3-weight> cos4-weight <cos4-weight> cos5-weight
<cos5-weight> cos6-weight <cos6-weight> cos7-weight <cos7-weight>
To display the parameters of a WFQ profile, enter the following command in root view:
root> ethernet qos wfq-weight-profile-tbl show profile-id <profile-id>
To delete a WFQ profile, enter the following command in root view:
root> ethernet qos wfq-weight-profile-tbl delete profile-id <profile-id>
You can only delete WFQ profile if the profile is not attached to any interface.
Table 154
WFQ Profile CLI Parameters
Parameter
Input Type
Permitted
Values
Description
profile-id
Number
2 – 6
A unique ID to identify the profile.
cos0-weight
Number
1 - 20
The relative weight for the CoS 0 queue.
cos1- weight
Number
1 - 20
The relative weight for the CoS 1 queue.
cos2- weight
Number
1 - 20
The relative weight for the CoS 2 queue.
cos3- weight
Number
1 - 20
The relative weight for the CoS 3 queue.
cos4- weight
Number
1 - 20
The relative weight for the CoS 4 queue.
cos5- weight
Number
1 - 20
The relative weight for the CoS 5 queue.
cos6- weight
Number
1 - 20
The relative weight for the CoS 6 queue.
cos7- weight
Number
1 - 20
The relative weight for the CoS 7 queue.
Examples
The following command configures a WFQ profile with Profile ID 2.
root> ethernet qos wfq-weight-profile-tbl add profile-id 2 cos0-weight 15
cos1-weight 15 cos2-weight 15 cos3-weight 15 cos4-weight 15 cos5-weight
15 cos6-weight 15 cos7-weight 20
This profile has the parameters listed in the following table. Note that the yellow queue weight is constant and
cannot be changed. This means that all best effort traffic (yellow) will always have the same weight, regardless of
CoS.
Table 155
WFQ Sample Profile Parameters