3.2.26. 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 (deprecated) (config only)¶
Attention
none
Core assigned to manage the scheduler.
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>
child-scheduler (config only)¶
Child scheduler.
vsr running config# qos scheduler <string> pq queue <uint32>
vsr running queue <uint32># child-scheduler <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>
child-scheduler (config only)¶
Child scheduler.
vsr running config# qos scheduler <string> pb-dwrr queue <uint32>
vsr running queue <uint32># child-scheduler <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
PRIORITY |
PB-DWRR queue 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. |
htb (config only)¶
Hierarchical Token bucket description.
vsr running config# qos scheduler <string> htb
description (config only)¶
A comment to describe the scheduler.
vsr running config# qos scheduler <string> htb
vsr running htb# description <string>
divisor (config only)¶
Divisor used to calculate the default quantum of queues. Default quantum = rate / divisor.
vsr running config# qos scheduler <string> htb
vsr running htb# divisor <uint32>
- Default value
10
queue (config only)¶
HTB root queue. Only one root queue allowed.
vsr running config# qos scheduler <string> htb queue <uint32>
<uint32> |
ID of the queue. |
description (config only)¶
A comment to describe the queue.
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># description <string>
bandwidth (config only) (mandatory)¶
Guaranteed bandwidth of the queue.
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># bandwidth BANDWIDTH
BANDWIDTH |
Rate in bits per second. K/M/G/T multipliers are supported. Example: 1G stands for 1000000000 bps. |
burst (config only)¶
Guaranteed bandwidth maximum burst size. Defaults to bandwidth/80 (100ms of traffic at bandwidth rate).
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># burst BURST
BURST |
Burst size in bytes. K/M/G/T multipliers are supported. Example: 2K stands for 2000 bytes. |
ceiling (config only)¶
Ceiling rate of the queue. Defaults to bandwidth.
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># ceiling CEILING
CEILING |
Rate in bits per second. K/M/G/T multipliers are supported. Example: 1G stands for 1000000000 bps. |
ceiling-burst (config only)¶
Ceiling rate maximum burst size. Defaults to ceiling/80 (100ms of traffic at ceiling rate).
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># ceiling-burst CEILING-BURST
CEILING-BURST |
Burst size in bytes. K/M/G/T multipliers are supported. Example: 2K stands for 2000 bytes. |
quantum (config only)¶
Quantum of the queue, used to distribute available bandwidth between queues of same priorities, in a weighted round robin fashion. Defaults to rate/divisor.
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># quantum <uint32>
size (config only)¶
Size of the queue in packets. The value is rounded up to the nearest power of 2.
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># size <uint32>
- Default value
256
priority (config only)¶
Priority of the queue, used to distribute available bandwidth to queues by order of priority.
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># priority <uint32>
- Default value
1
policer (config only)¶
Traffic policer defined in the QoS context applied to incoming traffic.
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># policer <leafref>
child-queue (config only)¶
List of child HTB queue IDs.
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># child-queue <leafref>
child-scheduler (config only)¶
Child scheduler.
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># child-scheduler <leafref>
class (config only)¶
List of traffic classes bound to this queue.
vsr running config# qos scheduler <string> htb queue <uint32>
vsr running queue <uint32># class <leafref>
<leafref> |
Class name. |
sfq (config only)¶
Stochastic Fair Queuing description.
vsr running config# qos scheduler <string> sfq
description (config only)¶
A comment to describe the scheduler.
vsr running config# qos scheduler <string> sfq
vsr running sfq# description <string>
flows (config only)¶
Number of flows in which the traffic is distributed.
vsr running config# qos scheduler <string> sfq
vsr running sfq# flows <uint32>
- Default value
1024
quantum (config only)¶
Amount of bytes a flow is allowed to dequeue during a round of the round robin process.
vsr running config# qos scheduler <string> sfq
vsr running sfq# quantum <uint32>
- Default value
1514
limit (config only)¶
Maximum number of packets that may be enqueued. If the limit is exceeded, the flow with the greatest number of enqueued packets is identified, and half of its packets are dropped.
vsr running config# qos scheduler <string> sfq
vsr running sfq# limit <uint32>
- Default value
10240
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