Enterasys Networks XSR CLI Router User Manual


 
Class-map Commands
XSR CLI Reference Guide 12-101
Class-map Commands
class-map
Thiscommandcreatesaclassmapformatchingpacketstoaspecifiedclass.Useittospecifythe
nameoftheclassforwhichyouwanttocreateormodifyclassmapmatchcriteria.
Packetsarrivingattheoutputinterfacearecheckedagainstthematchcriteriasetforaclassmap
to
determineifthepacketbelongstothatclass.Subcommandsassociatedwiththecommandare:
match access-group‐configuresthematchcriteriaforaclassmaponthebasisofa
configuredACL.Gotopage12102forthecommanddefinition.
match cos‐identifiesaspecificIEEE802.1priorityvalueasamatchcriterion.Goto
page12103forthecommanddefinition.
match ip dscp‐identifiesaspecificIPDifferentiatedServiceCodePoint(DSCP)valueasa
matchcriterion.Gotopage12103forthecommanddefinition.
match ip precedence‐identifiesIPprecedencevaluesasmatchcriteria.Gotopage12104
forthecommanddefinition.
Syntax
class-map {match-all match-any} class-map-name
Syntax of the “no” Form
Usethenoformofthiscommandtoremoveanexistingclassmap:
no class-map [match-all] | [match-any] word
Mode
Globalconfiguration:XSR(config)#
Next Mode
ClassMapconfiguration:XSR(config-cmap<xx>)#
Default
matchall
Example
Thefollowingexamplecreatesclassmapclass57anddefinesitsmatchcriterionwithpolicymap
policy99whichisconfiguredtocontainpolicyrulesforclass57andthedefaultclass.
match-all
Packetsmustmatchallcriteriaintheclassmaptobelongtotheclassname.
match-any
Packetsmustmatchany(oneormore)criteriaintheclassmaptobelongto
theclassname.
class-map-
name
Designationfortheclassmapwhichisusedfortheclassmapandtoset
policyfortheclassinthepolicymap.