![Enterasys X-Pedition XSR Cli Reference Manual Download Page 491](http://html1.mh-extra.com/html/enterasys/x-pedition-xsr/x-pedition-xsr_cli-reference-manual_2414758491.webp)
Policy-Map Commands
XSR CLI Reference Guide 12-95
Examples
The
following
example
enables
WRED
with
a
minimum
threshold
for
DSCP
af21
of
24
and
maximum
threshold
of
40
.
The
dropping
probability
is
1/4th
.
All
other
DSCPs
have
default
values.
XSR(config)#policy-map wred
XSR(config-pmap<wred>)#class a
XSR(config-pmap-c<a>)#random-detect dscp-based
XSR(config-pmap-c<a>)#random-detect dscp af21 24 40 4
The
following
example
sets
WRED
It
sets
DSCP
33
WRED
parameters
to
10,
20,
10
and
changes
the
setting
for
all
other
DSCP
values
from
initial
to
default
5,
10,
20.
XSR(config)#policy-map wred
XSR(config-pmap<wred>)#class a
XSR(config-pmap-c<a>)#random-detect dscp-based
XSR(config-pmap-c<a>)#random-detect dscp 33 10 20 10
XSR(config-pmap-c<a>)#random-detect default 5 10 20
random-detect exponential-weighting-constant
This
command
configures
the
Weighted
Random
Early
Detect
(WRED)
exponential
weight
factor
for
the
average
queue
size
calculation.
The
weight
constant
is
expressed
as
a
power
of
2.
WRED
uses
the
exponential
weighting
factor
to
calculate
average
queue
size.
To
simplify
computing
average
queue
size,
the
weight
constant
is
allowed
to
be
a
power
of
2.
Choosing
the
right
value
of
this
constant
is
important
for
proper
WRED
operation.
The
default
value
is
based
on
available
data
and
should
be
changed
only
if
your
applications
benefit
from
a
different
value.
Syntax
random-detect exponential-weighting-constant
value
Cs1
32
40
1/10
Cs2
28
40
1/10
Cs3
24
40
1/10
Cs4
32
40
1/10
Cs5
28
40
1/10
Cs6
24
40
1/10
Cs7
32
40
1/10
Ef
28
40
1/10
Initial
parameters
for
all
other
DSCP
values
24
40
1/10
Table 12-1 DSCP Threshold/Max Drop Probability Parameters (continued)
DSCP
Min Threshold
Max Threshold
Max Drop Probability
value
Exponent
ranging
from
1
to
16.
Summary of Contents for X-Pedition XSR
Page 1: ...X Pedition Security Router XSR CLI Reference Guide Version 7 6 P N 9033842 07...
Page 2: ......
Page 10: ...viii...
Page 14: ...xii...
Page 134: ...Bootrom Monitor Mode Commands 3 128 Configuring the XSR Platform...
Page 278: ...VRRP Clear and Show Commands 5 202 Configuring the Internet Protocol...
Page 352: ...IGMP Clear and Show Commands 7 104 Configuring IP Multicast...
Page 406: ...Multilink Show Commands 8 136 Configuring the Point to Point Protocol...
Page 436: ...Frame Relay Clear and Show Commands 9 112 Configuring Frame Relay...
Page 460: ...Dialer Watch Commands 10 106 Configuring the Dialer Interface...