Enterasys Networks XSR CLI Router User Manual


 
Policy-Map Commands
XSR CLI Reference Guide 12-85
random-detect exponential-weighting-constant‐ConfigurestheWREDexponential
weightfactorfortheaveragequeuesizecalculation.Refertopage1295forthecommand
definition.
random-detect precedence ‐ConfiguresWREDminimumandmaximumthresholdand
maximumdropprobabilityvaluesforaIPprecedencevalue.Gotopage1296forthe
commanddefinition.
set cos‐MarkstheIEEE802.1priorityintheheaderofoutputVLANpacketswithaClassof
Service(CoS)matchingclause.Gotopage1297forthecommanddefinition.
set ip dscp‐MarksapacketbysettingtheIPDifferentiatedServicesCodePoint(DSCP)
parameter.Gotopage1298forthecommanddefinition.
set ip precedence‐SetstheprecedencevalueintheIPheader.Gotopage1299forthe
commanddefinition.
shape‐Enablesandconfigurestrafficshapingonaclass.Gotopage12100forthecommand
definition.
Usethe
policy-mapcommandtospecifythenameofthepolicymaptobecreated,addedto,or
modifiedbeforeyoucanconfigurepoliciesforclasseswhosematchcriteriaaredefinedinaclass
map.Invokingthe
policy-map commandenablesQoSPolicyMapconfigurationmodeinwhich
youcanconfigureormodifytheclasspoliciesforthatpolicymap.
Youcanconfigureclasspoliciesinapolicymaponlyiftheclasseshavematchcriteriadefinedfor
them.Youusethe
class-map and match commandstoconfigurethematchcriteriaforaclass.
Youcanconfigureupto64classpoliciesinapolicymap.
Asinglepolicymapcanbeattachedtomultipleinterfacesconcurrently.Ifyouattem pttoattacha
policymaptoaninterfaceandavailablebandwidthontheinterfacecannotaccommodate
thetotal
bandwidthrequestedbyclasspoliciescomprisingthepolicymap,theinterfacebecomes
oversubscribed.Insuchacase,whenclassestrytosendwithalloftheirbandwidth,someclasses
maybeunabletotransmit.
Wheneveryoumodifyclasspolicyinanattachedpolicymap,CBWFQ isnotifiedandthe
new
classesareinstalledaspartofthepolicymapintheCBWFQsystem.
Syntax
policy-map policy-map-name
Syntax of the “no” Form
Usethenoformofthiscommandtodeleteapolicymap:
no policy-map policy-map-name
Mode
Globalconfiguration:XSR(config)#
Next Mode
PolicyMapconfiguration:XSR(config-pmap-<xx>)#
policy-map-name
Nameofthepolicymap.