Set cos – Enterasys Networks X-Pedition XSR CLI User Manual
Page 493
Policy-Map Commands
XSR CLI Reference Guide 12-97
Defaults
•
Disabled
•
Mark‐prob: 10
Mode
Policy‐Map Class configuration:
XSR(config-pmap-c-<xx>)#
Examples
The following example enables WRED with a minimum IP precedence threshold of 24 and
maximum of 40. The dropping probability is 1/4. All other precedence types have default values.
XSR(config)#policy-map wred
XSR(config-pmap
XSR(config-pmap-c)#random-detect prec-based
XSR(config-pmap-c)#random-detect precedence 3 24 40 4
The following example sets WRED as RED with a minimum threshold of 10 and maximum
threshold of 20:
XSR(config)#policy-map foo
XSR(config-pmap
XSR(config-pmap-c)#random-detect prec-based
XSR(config-pmap-c)#random-detect precedence default 10 20
set cos
This command marks the IEEE 802.1 priority in the header of output VLAN packets with a Class
of Service (CoS) matching clause. As part of CoS configuration, the XSR associates a policy map
with a class of traffic. By comparison, the
match cos
command marks the headers of incoming
VLAN packets.
For information on the
vlan
command, go to
in the Configuring Hardware Controllers
chapter.
Syntax
set cos ieee802.1p-value
Syntax of the “no” Form
The no form of this command removes the match clause.
no set cos ieee802.1p-value
Note: Setting a VLAN priority value is applicable only to VLAN sub-interfaces; the set clause is
ignored for other interface types.
ieee802.1p-value
Priority value to mark output VLAN packets, ranging from 0 to 7.