Enterasys Networks XSR CLI Router User Manual


 
Class-map Commands
12-102 Configuring Quality of Service
XSR(config)#class-map class57
XSR(config-cmap<class57>)#match access-group 136
XSR(config)#policy-map policy99
XSR(config-pmap<policy99>)#class class57
XSR(config-pmap-c<class57>)#bandwidth percent 10
XSR(config-pmap-c<class57>)#queue-limit 40
XSR(config-pmap<policy99>)#class class-default
XSR(config)#interface serial 1/0
XSR(config-if<S1/0>)#service-policy output policy99
match access-group
ThiscommandconfiguresthematchcriteriaforaclassmaponthebasisofthespecifiedAccess
ControlList(ACL).
YoudefinetrafficclassesbasedonmatchcriteriaincludingACLs,DSCPand/orIPPrecedence.
Packetssatisfyingthematchcriteriaforaclassconstitutethetrafficforthatclass.
The
match access-groupcommandspecifiesanumberedACLwhosecontentsareusedasthe
matchcriteriaagainstwhichpacketsarecheckedtodetermineiftheybelongtotheclasssetbythe
classmap.
Tousethe
match access-groupcommand,youmustfirstentertheclass-mapcommandto
specifythe nameoftheclasswhosematchcriteriayouwanttoestablish.Afteryouidentifythe
class,youcanuseoneofthefollowingcommandstoconfigureitsmatchcriteria:
match access-group
match ip dscp
match ip precedence
Syntax
match access-group {access-group}
Syntax of the “no” Form
ThenoformofthiscommandremovesACLmatchcriteriafromaclassmap:
no match access-group access-group
Mode
Classmapconfiguration:XSR(config-cmap-xx)#
Example
Thefollowingexamplespecifies aclassmapcalledacl57andconfigurestheACLnumbered57to
beusedasthematchcriteriaforthisclass:
XSR(config)#class-map acl57
XSR(config-cmap<ac157>)#match access-group 57
access-group
AnumberedACLwhosecontentsareusedasthematchcriteriaagainst
whichpacketsarecheckedtodetermineiftheybelongtotheclass.
Range:1to199.