Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

qos default

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.

Syntax                                      

qos default <QUEUE>

Parameters

<QUEUE> – priority queue number, may take values [0 .. 6].

Default value

0

Command mode

CONFIG

Example

qos default 6

Packets for which no other rules are set are queued with priority 6.

qos type

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:

  • all the priorities are equal;
  • packet selection according to IEEE 802.1p;
  • packet selection only according to IP ToS (Type of Service) on 3 level - support for Differentiated Services Codepoint (DSCP);
  • interaction according to either 802.1p or DSCP/TOS.

Syntax                                      

qos type <TYPE>

Parameters

<TYPE> – traffic prioritization type:

  • 0 – all the priorities are equal;
  • 1 – package selection only by 802.1p only (Priority field in 802.1Q tag);
  • 2 – packet selection only by DSCP/TOS (field Differentiated Services IP packet header, senior 6 bits);
  • 3 – interaction either via 802.1p or DSCP/ToS.

Default value

All the priorities are equal.

Command mode

CONFIG

Example

ma4000(config)# qos type 2

Traffic prioritization will be done only via DSCP/TOS.

qos map

This command sets the parameters for the priority queue:

  • specifies the value of the field Differentiated Services IP packet header, senior 6 bits;
  • value of the Priority field in 802.1Q tag.

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.

Syntax                                      

[no] qos map  <TYPE> <VALUES> to <QUEUE>

Parameters

<TYPE> – traffic prioritization type:

  • 0 – by the 1p standard (used on level 2);
  • 1 – by the DSCP/TOS standard (used on level 3).

<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 ( - )):

  • if <TYPE> = 0, then the Priority field value is set to 802.1Q Tag: [0 ... 7];
  • if <TYPE> = 1, then set the values of the fields Differentiated Services of the IP packet header, the highest 6 bits. The value is entered in hexadecimal format: [0 .. 63].

<QUEUE> – priority queue number, may take values [0 .. 6].

Command mode

CONFIG

Example

ma4000(config)# qosmap 0 0 to 1

For the 7th priority queue the value of the field priority = 7 in 802.1Q tag.

show qos

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.

Syntax     

show qos

Parameters

The command contains no arguments.

Command mode

ROOT

Example

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:

qos cpu input-rate slot

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.

Syntax     

qos cpu input-rate slot <SLOT>
no qos cpu input-rate slot <SLOT>

Parameters

<SLOT> – slot number [0..15]

Command mode

CONFIG

Example

ma4000# qos cpu input-rate slot 6

qos cpu quota queues

This command allows you to set the buffer size for each of the queues to transmit packets to the CPU for PLC line cards.

Syntax     

qos cpu quota queues <Quota7> <Quota6> <Quota5> <Quota4> <Quota3> <Quota2> <Quota1> <Quota0>  slot <SLOT>

Parameters

<QuotaN> – buffer size for the corresponding queue;

<SLOT> – slot number, may take values [0..15].

Command mode

CONFIG

Example

ma4000# qos cpu quota queues 22 33 33 22 33 33 3 3 slot 6

qos cpu rate-limit

This command sets a limit on the number of packets intercepted to be sent to the CPU for PLC8 line cards.

Syntax     

qos cpu rate-limit <TYPE> <RATE> slot <SLOT>

Parameters

<TYPE> – traffic type:

  • mgmt – management traffic;
  • mgmt-pon – PON port management traffic;
  • arp – ARP packets;
  • igmp – IGMP packets;
  • lacp – LACP packets;
  • green-replication – packets for replication by green queue;
  • yellow-replication – packets for replication by yellow queue;
  • pon-interception;

<RATE> – amount of MAC addresses per second, takes value of [1..10000];

<SLOT> – slot number, may take values [0..15].

Command mode

CONFIG

Example

ma4000# qos cpu rate-limitmgmt 10000 slot 6

qos cpu replication-swap-queues

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.

Syntax     

qos cpu replication-swap-queues slot <SLOT>
no qos cpu replication-swap-queues slot <SLOT>

Parameters

<SLOT> – slot number, may take values [0..15].

Command mode

CONFIG

Example

ma4000# qos cpu replication-swap-queuesslot 6

qos cpu replication-task-priority

This command allows to set the priority for processing the replication of traffic by the system to the CPU for PLC8 line cards.

Syntax     

qos cpu replication-task-priority <TASK> slot  <SLOT>

Parameters

<TASK> – task execution priority, may take values [0..20];

<SLOT> – slot number, may take values [0..15].

Command mode

CONFIG

Example

ma4000# qos cpu replication-task-priority 2 slot 6

qos cpu wrr enable

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.

Syntax     

qos cpu wrr enable slot <SLOT>
no qos cpu wrr enable slot <SLOT>

Parameters

<SLOT> – slot number, may take values [0..15].

Command mode

CONFIG

Example

ma4000# qos cpu wrr enable slot 6

qos cpu wrr queues

This command sets the buffer size for each of the queues on the CPU for PLC8 line cards.

Syntax     

qos cpu wrr queues <Quota7> <Quota6> <Quota5> <Quota4> <Quota3> <Quota2> <Quota1> <Quota0>  slot <SLOT>

Parameters

<QuotaN> – buffer size for the corresponding queue;

<SLOT> –  slot number, may take values [0..15].

Command mode

CONFIG

Example

ma4000# qos cpu wrr queues 2 2 2 2 2 2 2 2 slot 6

show slot  qos cpu

This command displays the configuration of traffic processing queues on the CPU for PLC8 line cards.

Syntax     

show slot <SLOT> qos cpu

Parameters

<SLOT> – slot number, may take values [0..15].

Command mode

ROOT

Example

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

qos wrr enable

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.

Syntax     

qos wrr enable slot <SLOT>
no qos wrr enable slot <SLOT>

Parameters

<SLOT> – slot number, may take values [0..15].

Command mode

CONFIG

Example

ma4000(config)# qos wrr enable slot 6

qos wrr queues

This command sets the buffer size for each of the queues on the PLC8 line cards switch.

Syntax     

qos wrr queues <Quota6> <Quota5> <Quota4> <Quota3> <Quota2> <Quota1> <Quota0>  slot <SLOT>

Parameters

<QuotaN> – buffer size for the corresponding queue;

<SLOT> – slot number, may take values [0..15].

Command mode

CONFIG

Example

ma4000(config)# qos wrr queues 1 1 1 1 22 22 33 slot 2

qos downstream-qinq-prio enable

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.

Syntax     

qos downstream-qinq-prio enable slot <SLOT>

Parameters

<SLOT> – slot number, may take values [0..15].

Command mode

CONFIG

Example

ma4000(config)# qos downstream-qinq-prio enable slot 6

show slot<SLOT>  qos general

This command displays the QoS settings on the PLC8 line card switch.

Syntax     

show slot <SLOT> qos general

Parameters

<SLOT> – PLC8 module number, may take values (0..15). You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).

Command mode

ROOT

Example

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
  • Нет меток