Enterasys Networks XSR CLI Router User Manual


 
Policy-Map Commands
XSR CLI Reference Guide 12-97
Defaults
Disabled
•Markprob:10
Mode
PolicyMapClassconfiguration:XSR(config-pmap-c-<xx>)#
Examples
ThefollowingexampleenablesWREDwithaminimumIPprecedencethresholdof24and
maximumof40.Thedroppingprobabilityis1/4.Allotherprecedencetypeshavedefaultvalues.
XSR(config)#policy-map wred
XSR(config-pmap<wred>)#class a
XSR(config-pmap-c<a>)#random-detect prec-based
XSR(config-pmap-c<a>)#random-detect precedence 3 24 40 4
ThefollowingexamplesetsWREDasREDwithaminimumthresholdof10andmaximum
thresholdof20:
XSR(config)#policy-map foo
XSR(config-pmap<foo>)#class a
XSR(config-pmap-c<a>)#random-detect prec-based
XSR(config-pmap-c<a>)#random-detect precedence default 10 20
set cos
ThiscommandmarkstheIEEE802.1priorityintheheaderofoutputVLANpacketswithaClass
ofService(CoS)matchingclause.AspartofCoSconfiguration,theXSRassociatesapolicymap
withaclassoftraffic.Bycomparison,the
match coscommandmarkstheheadersofincoming
VLANpackets.
Forinformationonthe
vlancommand,gotopage491intheConfiguringHardwareControllers
chapter.
Syntax
set cos ieee802.1p-value
Syntax of the “no” Form
Thenoformofthiscommandremovesthematchclause.
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
PriorityvaluetomarkoutputVLANpackets,rangingfrom0to7.