3.2.25. qos¶
Note
requires a Product License.
QoS configuration.
vsr running config# qos
class-mask (config only)¶
Mask applied to marks.
vsr running config# qos
vsr running qos# class-mask <0x0-0xffffffff>
- Default value
0xFFFFFFFF
policer (config only)¶
List of policer templates.
vsr running config# qos policer <string>
<string> |
Policer template name. |
description (config only)¶
A comment to describe the policer template.
vsr running config# qos policer <string>
vsr running policer <string># description <string>
bandwidth (config only) (mandatory)¶
Maximum bandwidth of regular traffic, a.k.a. CIR (Committed Information Rate), in bps. 0 allows no regular traffic.
vsr running config# qos policer <string>
vsr running policer <string># bandwidth BANDWIDTH
BANDWIDTH |
Rate in bits per second. K/M/G/T multipliers are supported. Example: 1G stands for 1000000000 bps. |
burst (config only)¶
Maximum burst size of shaped traffic, a.k.a. CBS (Committed Burst Size), in bytes. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr running config# qos policer <string>
vsr running policer <string># burst BURST
BURST |
Burst size in bytes. K/M/G/T multipliers are supported. Example: 2K stands for 2000 bytes. |
excess-bandwidth (config only)¶
Maximum bandwidth of excess traffic, a.k.a. EIR (Excess Information Rate), in bps. 0 allows no excess traffic.
vsr running config# qos policer <string>
vsr running policer <string># excess-bandwidth EXCESS-BANDWIDTH
EXCESS-BANDWIDTH |
Rate in bits per second. K/M/G/T multipliers are supported. Example: 1G stands for 1000000000 bps. |
- Default value
0
excess-burst (config only)¶
Maximum burst size of excess traffic, a.k.a. EBS (Excess Burst Size), in bytes. The default value is set to excess-bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr running config# qos policer <string>
vsr running policer <string># excess-burst EXCESS-BURST
EXCESS-BURST |
Burst size in bytes. K/M/G/T multipliers are supported. Example: 2K stands for 2000 bytes. |
shaper (config only)¶
List of shapers.
vsr running config# qos shaper <string>
<string> |
Shaper name. |
description (config only)¶
A comment to describe the shaper.
vsr running config# qos shaper <string>
vsr running shaper <string># description <string>
bandwidth (config only) (mandatory)¶
Maximum bandwidth of shaped traffic.
vsr running config# qos shaper <string>
vsr running shaper <string># bandwidth BANDWIDTH
BANDWIDTH |
Rate in bits per second. K/M/G/T multipliers are supported. Example: 1G stands for 1000000000 bps. |
burst (config only)¶
Maximum burst size of shaped traffic. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr running config# qos shaper <string>
vsr running shaper <string># burst BURST
BURST |
Burst size in bytes. K/M/G/T multipliers are supported. Example: 2K stands for 2000 bytes. |
layer1-overhead (config only)¶
Number of bytes added by the underlying protocol on each packet.
vsr running config# qos shaper <string>
vsr running shaper <string># layer1-overhead <uint32>
- Default value
0
queue-size (config only)¶
Number of packets that can be saved in the delay queue. If a scheduler is also configured on the interface, this value is not used, the queues of the scheduler are used as delay queues. The value is rounded up to the nearest power of 2.
vsr running config# qos shaper <string>
vsr running shaper <string># queue-size <uint32>
- Default value
256
scheduler (config only)¶
List of schedulers.
vsr running config# qos scheduler <string>
<string> |
Scheduler name. |
description (config only)¶
A comment to describe the scheduler.
vsr running config# qos scheduler <string>
vsr running scheduler <string># description <string>
core (config only)¶
Core assigned to manage the scheduler. If unset, cpu is automaticaly selected.
vsr running config# qos scheduler <string>
vsr running scheduler <string># core <uint32>
pq (config only)¶
Priority Queueing description.
vsr running config# qos scheduler <string> pq
nb-queue (config only) (mandatory)¶
Number of Priority Queueing queues available in the scheduler.
vsr running config# qos scheduler <string> pq
vsr running pq# nb-queue <uint32>
queue (config only)¶
List of Priority Queueing queues.
vsr running config# qos scheduler <string> pq queue <uint32>
<uint32> |
Id of the queue. |
size (config only)¶
Size of the queue in packets.
vsr running config# qos scheduler <string> pq queue <uint32>
vsr running queue <uint32># size <uint32>
- Default value
256
policer (config only)¶
Traffic policer defined in the QoS context applied to incoming traffic.
vsr running config# qos scheduler <string> pq queue <uint32>
vsr running queue <uint32># policer <leafref>
shaper (config only)¶
Traffic shaper defined in the QoS context applied to outgoing traffic.
vsr running config# qos scheduler <string> pq queue <uint32>
vsr running queue <uint32># shaper <leafref>
priority (config only)¶
Custom priority of this queue.
vsr running config# qos scheduler <string> pq queue <uint32>
vsr running queue <uint32># priority <uint32>
class (config only)¶
List of traffic classes bound to this queue.
vsr running config# qos scheduler <string> pq queue <uint32>
vsr running queue <uint32># class <leafref>
<leafref> |
Class name. |
pb-dwrr (config only)¶
Priority-Based Deficit Weighted Round Robin description.
vsr running config# qos scheduler <string> pb-dwrr
nb-queue (config only) (mandatory)¶
Number of PB-DWRR queues available in the scheduler.
vsr running config# qos scheduler <string> pb-dwrr
vsr running pb-dwrr# nb-queue <uint32>
queue (config only)¶
List of PB-DWRR queues.
vsr running config# qos scheduler <string> pb-dwrr queue <uint32>
<uint32> |
Id of the queue. |
size (config only)¶
Size of the queue in packets.
vsr running config# qos scheduler <string> pb-dwrr queue <uint32>
vsr running queue <uint32># size <uint32>
- Default value
256
policer (config only)¶
Traffic policer defined in the QoS context applied to incoming traffic.
vsr running config# qos scheduler <string> pb-dwrr queue <uint32>
vsr running queue <uint32># policer <leafref>
shaper (config only)¶
Traffic shaper defined in the QoS context applied to outgoing traffic.
vsr running config# qos scheduler <string> pb-dwrr queue <uint32>
vsr running queue <uint32># shaper <leafref>
quantum (config only)¶
Quantum of the queue. Relevant only if priority is low.
vsr running config# qos scheduler <string> pb-dwrr queue <uint32>
vsr running queue <uint32># quantum <uint32>
- Default value
1500
priority (config only)¶
Priority of the queue (low or high).
vsr running config# qos scheduler <string> pb-dwrr queue <uint32>
vsr running queue <uint32># priority PRIORITY
|
Description |
---|---|
low |
Low priority. |
high |
High priority. |
- Default value
low
class (config only)¶
List of traffic classes bound to this queue.
vsr running config# qos scheduler <string> pb-dwrr queue <uint32>
vsr running queue <uint32># class <leafref>
<leafref> |
Class name. |
class (config only)¶
List of supported classes.
vsr running config# qos class <string>
<string> |
Class name. |
description (config only)¶
A comment to describe the class.
vsr running config# qos class <string>
vsr running class <string># description <string>
mark (config only)¶
Class mark. Optional if cp is true.
vsr running config# qos class <string>
vsr running class <string># mark <0x0-0xffffffff>
cp (config only)¶
Whether this class relates to critical control plane traffic. If unset, match any traffic. If true, only match critical control plane traffic. If false, do not match critical control plane traffic.
vsr running config# qos class <string>
vsr running class <string># cp true|false