Enterasys Networks XSR CLI Router User Manual


 
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
Thefollowingexamplespecifies abandwidthof2000Kbpsforpolmap6:
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
tocreateortochangeand setsthecriteriaforclassifyingtraffic.TheXSRprovidesarobustsetof
matchingrulesforyoutodefinethecriteria.
Beforeusingthe
classcommand,youmustfirstenterthepolicy-map commandtoidentifythe
policymapyouwanttochange.ThisalsoallowsyoutoenterQoSpolicymapconfiguration
mode.Afteryouspecifyapolicymap,youcanconfigurepolicyfor newclassesormodifypolicy
foranyexistingclassesinthatpolicymap.
Theclassnameyouspecifyin
thepolicymaptiesthecharacteristicsforthatclass‐thatis,its
policy‐totheclassmapanditsmatchcriteria,asconfiguredusingthe
class-mapcommand.
Whenaclassisremoved,availablebandwidthfortheinterfaceisincrementedbytheamount
previouslyallocatedtotheclass.
Thepredefineddefaultclasscalledclassdefaultistheclasstowhichtrafficisdirectedifthattraffic
doesnotsatisfythematchcriteriaofotherclasseswhosepolicyis
definedinthepolicymap.
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.