This command defines the queue, that will be used for packets without any preconfigured rules. The queue with the value of 6 is considered the highest priority.
qos default <QUEUE>
<QUEUE> – priority queue number, may take values [0 .. 6].
0
CONFIG
qos default 6 |
Packets for which no other rules are set are queued with priority 6.
This command allows you to set a rule by which to select the priority field for the package.
The traffic prioritization method will be chosen depending on the configured system rules (IEEE 802.1p/DSCP).
The system distinguishes the following traffic prioritization methods:
qos type <TYPE>
<TYPE> – traffic prioritization type:
All the priorities are equal.
CONFIG
ma4000(config)# qos type 2 |
Traffic prioritization will be done only via DSCP/TOS.
This command sets the parameters for the priority queue:
Based on the rules set by the qos type command and the specified priority values, packages are selected for this priority queue.
The use of the negative form of the command (no) allows you to remove the entry from the queue settings table.
[no] qos map <TYPE> <VALUES> to <QUEUE>
<TYPE> – traffic prioritization type:
<VALUES> – value of the field by which the packets are selected is set according to <TYPE> (the values of the fields are entered with a comma or as a range with hyphen ( - )):
<QUEUE> – priority queue number, may take values [0 .. 6].
CONFIG
ma4000(config)# qosmap 0 0 to 1 |
For the 7th priority queue the value of the field priority = 7 in 802.1Q tag.
This command is used to view the priorities assigned to the queues. The default queue priority is 0. The priority value for the queue is set in the range [0 .. 6], the queue with the priority 6 is considered the most priority.
show qos
The command contains no arguments.
ROOT
ma4000# show qos Priority assignment by NONE packet field, all priorities are equal Default priority queue is 0 DSCP/TOS queues: 0: 1: 2: 3: 4: 5: 6: 802.1p queues: 0: 1: 2: 3: 4: 5: 6: |
This command enables a restriction on packet transfer to the CPU for PLC8 line cards.
The negative form of the command sets the default value for this parameter.
qos cpu input-rate slot <SLOT>
no qos cpu input-rate slot <SLOT>
<SLOT> – slot number [0..15]
CONFIG
ma4000# qos cpu input-rate slot 6 |
This command allows you to set the buffer size for each of the queues to transmit packets to the CPU for PLC line cards.
qos cpu quota queues <Quota7> <Quota6> <Quota5> <Quota4> <Quota3> <Quota2> <Quota1> <Quota0> slot <SLOT>
<QuotaN> – buffer size for the corresponding queue;
<SLOT> – slot number, may take values [0..15].
CONFIG
ma4000# qos cpu quota queues 22 33 33 22 33 33 3 3 slot 6 |
This command sets a limit on the number of packets intercepted to be sent to the CPU for PLC8 line cards.
qos cpu rate-limit <TYPE> <RATE> slot <SLOT>
<TYPE> – traffic type:
<RATE> – amount of MAC addresses per second, takes value of [1..10000];
<SLOT> – slot number, may take values [0..15].
CONFIG
ma4000# qos cpu rate-limitmgmt 10000 slot 6 |
This command inverts the green and yellow packet replication queue processing mechanisms on the CPU for PLC8 line cards.
The negative form of the command sets the default value for this parameter.
qos cpu replication-swap-queues slot <SLOT>
no qos cpu replication-swap-queues slot <SLOT>
<SLOT> – slot number, may take values [0..15].
CONFIG
ma4000# qos cpu replication-swap-queuesslot 6 |
This command allows to set the priority for processing the replication of traffic by the system to the CPU for PLC8 line cards.
qos cpu replication-task-priority <TASK> slot <SLOT>
<TASK> – task execution priority, may take values [0..20];
<SLOT> – slot number, may take values [0..15].
CONFIG
ma4000# qos cpu replication-task-priority 2 slot 6 |
This command enables wrr-mode of priority queues processing on CPU for PLC8 line cards.
The negative form of the command sets the default value for this parameter.
qos cpu wrr enable slot <SLOT>
no qos cpu wrr enable slot <SLOT>
<SLOT> – slot number, may take values [0..15].
CONFIG
ma4000# qos cpu wrr enable slot 6 |
This command sets the buffer size for each of the queues on the CPU for PLC8 line cards.
qos cpu wrr queues <Quota7> <Quota6> <Quota5> <Quota4> <Quota3> <Quota2> <Quota1> <Quota0> slot <SLOT>
<QuotaN> – buffer size for the corresponding queue;
<SLOT> – slot number, may take values [0..15].
CONFIG
ma4000# qos cpu wrr queues 2 2 2 2 2 2 2 2 slot 6 |
This command displays the configuration of traffic processing queues on the CPU for PLC8 line cards.
show slot <SLOT> qos cpu
<SLOT> – slot number, may take values [0..15].
ROOT
ma4000# show slot 6 qos cpu WRR enabled WRR values for queues 7..0: 8 7 6 5 4 3 2 1 Quota values for queues 7..0: 1 1 1 1 1 1 1 1 Rate-limit for Mgmt: 2500 Rate-limit for Mgmt for PON: 2500 Rate-limit for ARP: 500 Rate-limit for IGMP: 500 Rate-limit for LACP: 50 Rate-limit for Replication green queue: 30 Rate-limit for Replication yellow queue: 30 Rate-limit for Intercepted packets by PON: 500 Rate-limit for Unknown: 100 Rate-limit for Unknown: 100 Rate-limit for Unknown: 1000 Rate-limit for Unknown: 2500 CPU input rate service: enabled Replication task priority: 0 Swapping replications green and yellow queues: disabled |
This command enables wrr mode of priority queues processing on the PLC line card switch.
The negative form of the command sets the default value for this parameter.
qos wrr enable slot <SLOT>
no qos wrr enable slot <SLOT>
<SLOT> – slot number, may take values [0..15].
CONFIG
ma4000(config)# qos wrr enable slot 6 |
This command sets the buffer size for each of the queues on the PLC8 line cards switch.
qos wrr queues <Quota6> <Quota5> <Quota4> <Quota3> <Quota2> <Quota1> <Quota0> slot <SLOT>
<QuotaN> – buffer size for the corresponding queue;
<SLOT> – slot number, may take values [0..15].
CONFIG
ma4000(config)# qos wrr queues 1 1 1 1 22 22 33 slot 2 |
This command sets the p-bit mode from outer-vid to inner-vid Q-in-Q packets replacing on the PLC8 line card switch to provide QoS traffic transfer.
qos downstream-qinq-prio enable slot <SLOT>
<SLOT> – slot number, may take values [0..15].
CONFIG
ma4000(config)# qos downstream-qinq-prio enable slot 6 |
This command displays the QoS settings on the PLC8 line card switch.
show slot <SLOT> qos general
<SLOT> – PLC8 module number, may take values (0..15). You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).
ROOT
ma4000# show slot 6 qos general Priority assignment by 802.1p packet field Priority assignment by inner tag of Q-in-Q packet in downstream is disabled Default priority queue is 0 DSCP/TOS queues: 6: 5: 4: 3: 2: 1: 0: 802.1p queues: 6: 7 5: 6 4: 5 3: 4 2: 3 1: 2 0: 0-1 WRR enabled WRR values for queues 6..0: 7 6 5 4 3 2 1 |