Enterasys Networks XSR CLI Router User Manual


 
Policy-Map Commands
12-90 Configuring Quality of Service
Example
Thefollowingexampledefinesatrafficclassusingtheclass-map commandandmatchcriteria
fromthetrafficclasswiththeTr affic Policingconfiguration,whichisconfiguredintheservice
policyusingthe
policy-map command.Theservice-policycommandisthenusedtoattach
thisservicepolicytotheinterface.
Inthisexample,trafficpolicingisconfiguredwiththeaveragerateof8000bitspersecondandthe
normalburstsizeat1200bytesandanexcessburstof2000bytesforallpacketsleavingF1/0:
XSR(config)#class-map access-match
XSR(config-cmap<access-match>)#match access-group 1
XSR(config)#policy-map police-setting
XSR(config-pmap<police-setting>)#class access-match
XSR(config-pmap-c<access-match>)#police 8000 1200 2000 conform-action transmit
exceed-action drop
XSR(config>)interface fastethernet 1/0
XSR(config-if<F1>)#service-policy output police-setting
priority
Thiscommandgivesprioritytoaclassoftrafficbelongingtoapolicymap.Itconfigureslow
latencyqueueing,providingstrictPriorityQueues(PQ)overClassbasedWeightedFairQueueing
(CBWFQ).StrictPQallowsdelaysensitivedatasuchasvoicetobedequeuedandsentbefore
packetsinotherqueues
aredequeued.
Theburstargumentspecifiestheburstsizeand,assuch,configuresthenetworktoaccommodate
temporaryburstsoftraffic.Thedefaultburstvalue,whichiscomputedas1secondoftrafficatthe
configuredbandwidthrate,isusedwhentheburstargumentisnotspecified.
Priorityqueuescanbe
reservedbyabsolutebandwidthwiththesesettings:high,medium,lowand
normal.
Syntax
priority priority-level bandwidth-kbps [burst]
Syntax of the “no” Form
Removeapreviouslyspecifiedpriorityspecifiedforaclasswiththenoformofthiscommand:
no priority
Note: The bandwidth and priority commands cannot be used in the same class, within the
same policy map, but they can be used together in the same policy map. They cannot be configured
for class-default. Class-default is always defined as fair queue.
priority level
Specifiesthepriorityqueue:high,medium,lowornormal.Normal
priorityhastheleastprecedence.
bandwidth-kbps
Guaranteedallowedbandwidthforprioritytraffic.Beyondthe
guaranteedbandwidth,prioritytrafficwillbedroppedtoensurethat
nonprioritytrafficisnotstarved.Range:1to100,000kbps.
burst
Setstheburstsize,rangingfrom32to2,000,000bytes.