Policy-Map Commands
XSR CLI Reference Guide 12-91
Mode
Policy‐MapClassconfiguration:XSR(config-pmap-c-<xx>)#
Example
ThefollowingexampleconfigurestwoPQsforthepolicymappolicy57,withahighprioritylevel,
guaranteedbandwidthof300kbpsand aone‐timeallowableburstsizeof500kbpsforthemap‐
classvoice;andalowprioritybandwidth,80bytesofguaranteedbandwidth,andaburstsize
2000
bytesformap‐classbeta.
XSR(config)#policy-map policy57
XSR(config-pmap<policy57>)#class voice
XSR(config-pmap-c<voice>)#priority high 300 500
XSR(config-pmap<policy57>)#class beta
XSR(config-pmap-c<beta>)#priority low 80 2000
queue-limit
Thiscommandspecifiesormodifiesthemaximumnumberofpacketsthequeuecanholdfora
classpolicyconfiguredinapolicymap.
Class‐BasedWeightedFairQueueing(CBWFQ)createsaqueueforeveryclassforwhichaclass
mapisdefined.Packetssatisfyingthematchcriteriaforaclassaccumulate
inthequeuereserved
fortheclassuntiltheyaresent,whichoccurswhenthequeueisservicedbytheFairQueueing
process.Whenthepeakpacketthresholdyousetfortheclassisreached,anyfurtherpacket
enqueueingtotheclassqueuecausestaildrop.
Syntax
queue-limit number-of-packets
Syntax of the “no” Form
Thenoformofthecommandremovesthequeuepacketlimitfromaclass.IfREDisnot
configured,thequeuelimitisrestoredtothedefaultvalue.
no queue-limit
Mode
Policy‐MapClassconfiguration:XSR(config-pmap-c-<xx>)#
Default
64
Example
Thefollowingexampleconfigurespolicymappolicy75tocontainpolicyforclassacl203.Policyfor
thisclassissetsothatthequeuereservedforithasamaximumpacketlimitof50.
number-of-
packets
Anumberrangingfrom1to64specifyingthepeaknumberofpackets
thatthequeuecanaccomodateforthisclass.