Understanding QoS Configuration on the Matrix N-Series
February 22, 2008
Page 15 of 29
The
set
cos
port
‐
resource
irl
command
is
used
for
creating
inbound
rate
limiters.
You
need
to:
•
Identify
the
port
group
for
configuration
•
Identify
the
limiter
resource
ID,
along
with
desired
unit,
rate,
and
actions
Configuring CoS Reference Mapping
The
CoS
Reference
Table
maps
the
TxQ
and
IRL
references,
defined
by
you
and
configured
in
the
CoS
Settings
Table,
to
physical
queues
and
rate
limiters
created
in
the
port
‐
resource
table.
A
CoS
reference
table
exists
for
each
port
group.
The
CoS
reference
table
indexes
can
be
thought
of
as
virtual
queues
or
rate
limiters.
The
table
accounts
for
the
maximum
number
of
queues
and
rate
limiters
supported
by
the
device.
The
virtual
queues
and
limiters
map
to
the
physical
queues
and
rate
limiters.
The
TxQ
Reference
Table
is
populated
by
default,
because
queues
are
required
for
all
forwarding.
The
TxQ
reference
maps
each
reference
value
to
a
physical
queue.
The
IRL
Reference
Table
is
not
configured
by
default,
because
inbound
rate
limiting
is
optional.
CoS TxQ Reference Mapping
The
CoS
TxQ
reference
table
uses
16
indexes
or
virtual
queues,
and
maps
each
to
a
physical
queue
or
resource.
A
TxQ
reference
table
exists
for
each
port
group
configured
and
is
indexed
similarly
to
port
‐
resources,
as
port
‐
group.port
‐
type
reference
.
For
port
‐
types
with
16
queues,
the
16
‐
txq
reference
indexes
map
directly
to
the
16
physical
queues.
For
port
‐
types
with
4
queues,
the
16
‐
txq
reference
indexes
map:
solutions-r1(su)->show cos port-resource irl
'?' after the rate value indicates an invalid rate value
Group Index Resource Type Unit Rate Rate Limit Type Action
----------- -------- ---- ---- ---------- --------------- ------
0.0 0 irl perc none drop none
0.0 1 irl perc none drop none
0.0 2 irl perc none drop none
0.0 3 irl perc none drop none
.
.
.
0.0 26 irl perc none drop none
0.0 27 irl perc none drop none
0.0 28 irl perc none drop none
0.0 29 irl perc none drop none
0.0 30 irl perc none drop none
0.0 31 irl perc none drop none
0.1 0 irl perc none drop none
0.1 1 irl perc none drop none
0.1 2 irl perc none drop none
0.1 3 irl perc none drop none
0.1 4 irl perc none drop none
0.1 5 irl perc none drop none
0.1 6 irl perc none drop none
0.1 7 irl perc none drop none
No violators exist for this/these irl(s)