Enterasys Networks XSR CLI Router User Manual


 
Policy-Map Commands
12-100 Configuring Quality of Service
Mode
PolicyMapClassconfiguration:XSR(config-pmap-c-xx)#
Example
ThefollowingexamplesetstheIPPrecedencebitto7forpacketsthatsatisfythematchcriteriaof
theclassmapcalledclass39.Allpacketsthatsatisfythematchcriteriaofclass39aremarkedwith
theIPPrecedencevalueof7.HowpacketsmarkedwiththeIPPrecedencevalueof
7aretreatedis
determinedbyyournetworkconfiguration.
XSR(config)#policy-map policy57
XSR(config-pmap<policy57>)#class class39
XSR(config-pmap-c<class39>)#set ip precedence 7
shape
Thiscommandenablesandconfigurestrafficshapingonaclass.Itcanbeappliedtoanyfairclass
orpriorityclass.Thedefaultburstissufficienttoachievetheaveragerateandiscalculatedfrom
therateandthedefaultmeasurementintervalof10milliseconds:
Burstequalsratemultipliedby(10
millisecondsdividedby1000)
Inordertosustaintheaveragerate,thenormalburstcannotbelessthanthedefaultburst.The
defaultvalueforexceedburstisequaltothenormalburst.
Syntax
shape rate [[burst]exceed-burst]
Syntax of the “no” Form
Thenoformofthiscommanddisablestrafficshapingonaclass:
no shape
Default
Disabled
Mode
PolicyMapClassconfiguration:XSR(config-pmap-c-xx)#
Example
ThefollowingexampleconfiguresClassAwith20%ofthelinkbandwidthtoamaximumof64
Kbytesandmaximumburstof2000bytes:
XSR(config)#policy-map foo
XSR(config-pmap<foo>)#class A
XSR(config-pmap-c<a>)#bandwidth percent 20
XSR(config-pmap-c<a>)#shape 64000 2000
rate
Averageorpeakrateforoutputtrafficinbbps.
burst
Maximumthresholdburstsize.Range:1to20,000bytes.
exceed-burst
Maximumexceedburstsize.Range1to40,000bytes.