Understanding QoS Configuration on the Matrix N-Series
February 22, 2008
Page 14 of 29
The
following
example
displays
default
values
for
the
show
cos
port
‐
resource
txq
command
output:
The
set
cos
port
‐
resource
txq
command
is
used
for
creating
outbound
rate
shapers.
You
need
to:
•
Identify
the
port
group
for
configuration
•
Identify
the
queue
resource
ID,
along
with
unit
and
rate
desired
for
that
queue
CoS IRL Port-Resource (Inbound Rate Limiter)
Unlike
rate
shaping,
inbound
rate
limiting
or
rate
policing
simply
drops
or
clips
traffic
inbound
if
a
configured
rate
is
exceeded.
See
“
Rate
Limiting”
on
page 7
for
a
general
discussion
of
rate
limiting.
CoS
inbound
rate
limiting
allows
you
to
configure
rate
limits
based
on
a
unit
rate
(kilobits/second,
megabits/second,
gigabits/second),
or
percentage
of
the
port’s
line
speed.
The
IRL
port
‐
resource
configuration
allows
you
to
enable
sending
syslog
messages
or
traps
once
a
rate
limit
is
exceeded,
as
well
as
to
disable
the
port.
The
show
cos
port
‐
resource
irl
command
displays
resources
for
each
port
group
created
along
with
the
index,
as
described
above.
By
default,
no
resources
are
configured
for
IRL
port
‐
resources.
Rates
displayed
as
none
indicate
no
resources
exist.
The
default
Rate
Limiting
algorithm
is
tail
‐
drop.
The
Action
field
in
the
display
indicates
user
‐
desired
action
for
each
syslog,
trap,
and
port
disable
behavior
when
configured.
The
following
example
displays
default
values
for
the
show
cos
port
‐
resource
irl
command
output:
Matrix(su)->
show cos port-resource txq
'?' after the rate value indicates an invalid rate value
Group Index Resource Type Unit Rate Algorithm
----------- -------- ---- ---- ---------- ---------
0.0 0 txq perc none tail-drop
0.0 1 txq perc none tail-drop
0.0 2 txq perc none tail-drop
0.0 3 txq perc none tail-drop
0.0 4 txq perc none tail-drop
0.0 5 txq perc none tail-drop
0.0 6 txq perc none tail-drop
0.0 7 txq perc none tail-drop
0.0 8 txq perc none tail-drop
0.0 9 txq perc none tail-drop
0.0 10 txq perc none tail-drop
0.0 11 txq perc none tail-drop
0.0 12 txq perc none tail-drop
0.0 13 txq perc none tail-drop
0.0 14 txq perc none tail-drop
0.0 15 txq perc none tail-drop
0.1 0 txq perc none tail-drop
0.1 1 txq perc none tail-drop
0.1 2 txq perc none tail-drop
0.1 3 txq perc none tail-drop