Policy-Map Commands
XSR CLI Reference Guide 12-91
Mode
PolicyMapClassconfiguration:XSR(config-pmap-c-<xx>)#
Example
ThefollowingexampleconfigurestwoPQsforthepolicymappolicy57,withahighprioritylevel,
guaranteedbandwidthof300kbpsandaonetimeallowableburstsizeof500kbpsforthemap
classvoice;andalowprioritybandwidth,80bytesofguaranteedbandwidth,andaburstsize2000
bytesformapclassbeta.
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.
ClassBasedWeightedFairQueueing(CBWFQ)createsaqueueforeveryclassforwhichaclass
mapisdefined.Packetssatisfyingthematchcriteriaforaclassaccumulateinthequeuereserved
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
PolicyMapClassconfiguration:XSR(config-pmap-c-<xx>)#
Default
64
Example
Thefollowingexampleconfigurespolicymappolicy75tocontainpolicyforclassacl203.Policyfor
thisclassissetsothatthequeuereservedforithasamaximumpacketlimitof50.
number-of-
packets
Anumberrangingfrom1to64specifyingthepeaknumberofpackets
thatthequeuecanaccomodateforthisclass.