Policy-Map Commands
XSR CLI Reference Guide 12-87
Syntax of the “no” Form
Removethebandwidthspecifiedforaclassbyusingthenoformofthiscommand:
no bandwidth
Mode
PolicyMapClassconfiguration:XSR(config-pmap-c<xx>)#
Example
Thefollowingexamplespecifiesabandwidthof2000Kbpsforpolmap6:
XSR(config)#policy-map polmap6
XSR(config-pmap<polmap6>)#class acl22
XSR(config-pmap-c<acl22>)#bandwidth 2000
XSR(config-pmap-c<acl22>)#queue-limit 30

class

ThisQoSpolicymapsubcommandspecifiesthenameofthetrafficclasswhosepolicyyouwant
tocreateortochangeandsetsthecriteriaforclassifyingtraffic.TheXSRprovidesarobustsetof
matchingrulesforyoutodefinethecriteria.
Beforeusingtheclasscommand,youmustfirstenterthepolicy-map commandtoidentifythe
policymapyouwanttochange.ThisalsoallowsyoutoenterQoSpolicymapconfiguration
mode.Afteryouspecifyapolicymap,youcanconfigurepolicyfornewclassesormodifypolicy
foranyexistingclassesinthatpolicymap.
Theclassnameyouspecifyinthepolicymaptiesthecharacteristicsforthatclass‐thatis,its
policy‐totheclassmapanditsmatchcriteria,asconfiguredusingtheclass-mapcommand.
Whenaclassisremoved,availablebandwidthfortheinterfaceisincrementedbytheamount
previouslyallocatedtotheclass.
Thepredefineddefaultclasscalledclassdefaultistheclasstowhichtrafficisdirectedifthattraffic
doesnotsatisfythematchcriteriaofotherclasseswhosepolicyisdefinedinthepolicymap.
Syntax
class {class-name | class-default}
Note: The XSR supports a maximum of 64 traffic classes.
class-name Specifiesthenameoftheclasstosetormodifypolicy.
class-default Specifiesthedefaultclasstoconfigureormodifypolicy.
Note: Class-default cannot be removed with the no class command.