Chapter 16: Quality of Service (QoS) (CLI)
Configuring Shapers (CLI)
phn-3963_008v000
Page 16-37
Parameter
Input Type
Permitted Values
Description
admin-state
Variable
enable
disable
Select
enable
to enable egress queue
shaping on the queue, or
disable
to
disable egress queue shaping on the
queue. If you set shaping to
disable
, the
shaper profile remains attached to the
queue, but does not affect traffic.
profile-id
Number
1 – 32
Enter the ID of one of the configured
queue shaper profiles.
The following command adds Queue Shaper Profile 5 to queues with CoS 0, on Service Bundle 1, on GbE 1, and
enables shaping on these queues.
eth type eth [1/1]> queue-shaper add capability service-bundle-id 1 cos 0
admin-state enable profile-id 5
The following command changes the Queue Shaper Profile assigned in the previous command to Queue Shaper
Profile 2:
eth type eth [1/1]> queue-shaper edit service-bundle-id 1 cos 0 admin-
state enable profile-id 2
Configuring Egress Line Compensation for Shaping (CLI)
You can configure a line compensation value for all the shapers under a specific logical interface. This value is used
to compensate for Layer 1 non-effective traffic bytes on egress.
To set the egress line compensation value, go to interface view for the interface and enter the following command:
eth type eth [x/x]>shaping-compensation-value set <value>
To display the egress line compensation value, go to interface view for the interface and enter the following
command:
eth type eth [x/x]>shaping-compensation-value get
Table 148
Egress Line Compensation for Shaping CLI Parameters
Parameter
Input Type
Permitted Values
Description
value
Number
0 – 26 (even numbers
only)
Shapers attached to the interface use this
value to compensate for Layer 1 non-
effective traffic bytes on egress.
The following command sets the egress line compensation value to 0 on GbE
1:
eth type eth [1/1]>shaping-compensation-value set 0