174
SBC session border controllers
Parameters
<type> — traffic prioritization method:
0 — by the 802.1p standard (used on level 2);
1 — by the DSCP/TOS standard (used on level 3).
<field values> – value of the field by which the packets are selected is set according to <parameter 1> (the
values of the fields are entered with a comma or as a range with «-»):
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 decimal format: [0 .. 63].
<queue> – priority queue number, may take values [0 .. 7].
Command mode
CONFIG SWITCH
Example
qos map 0 7 7
For the 7th priority queue the value of the field priority = 7 in 802.1Q tag.
cntrset
This command assigns the queue statistics collector to the queues with specified criteria.
Syntax
cntrset <PORT> <UNIT> <SET> <VLAN> <QUEUE> <DROP PRECEDENCE>
Parameters
<PORT> — type of the port for counting, may take values:
all — all ports;
cpu — CPU port;
front-port — counting front-port;
host-port;
sm-port.
<UNIT> — port sequential number:
for cpu: may take value [1];
for front port: <unit/port>, where:
unit — module number, may take value [1];
port — port number, may take values: [0 .. 3].
for host-port: <unit/port>, where:
unit — module number, may take value [1];
port — port number, may take values: [0 .. 2].
for sm-port: <unit/port>, where:
unit — module number, may take value [1];
port — port number, may take values: [0 .. 5].
<SET> — statistics collector number, may take values [0 .. 1];
< VLAN > — VLAN ID, may take values [1 .. 4094] or all;
< QUEUE > — queue number, may take values [0 .. 7] or all;
< DROP PRECEDENCE > — drop precedence value [0 .. 1] or all.