Enterasys Networks XSR CLI Router User Manual


 
Class-map Commands
XSR CLI Reference Guide 12-103
match cos
ThiscommandidentifiesaspecificIEEE802.1priorityvalueasamatchcriterion.Upto8priority
valuescanbematchedinonematchstatement.Forexample, ifyouwantedthepriorityvaluesof
0,1,2,3,4,5,6,or7(notethatonlyoneofthepriorityvalues
mustbeasuccessfulmatchcriterion,
notallofthespecifiedpriorityvalues),enterthe
match cos 0 1 2 3 4 5 6 7command.
Thiscommandisusedbytheclassmaptoidentifyaspecificpriorityvaluemarkingontheheader
ofincomingVLANpackets.Bycomparison,the
set cos commandmarkstheheadersofoutgoing
VLANpackets.Forinformationonthe
vlancommand,gotopage491intheConfiguring
HardwareControllerschapter.
Syntax
match cos ieee802.1p-value [ieee802.1p-value] [ieee802.1p-value] ...
Syntax of the “no” Form
Thenoformofthiscommandremovesthematchclause:
no match cos
Default
NomatchclauseforVLANpriority
Mode
Classmapconfiguration:XSR(config-cmap-xx)#
Example
ThefollowingexampleexampleconfiguresclassmapmatchCos5To7thatmatchesinputpriority
valuesfrom5to7:
XSR(config)#class-map matchCos5To7
XSR(config-cmap<matchCos5To7>)#match cos 5 6 7
match ip dscp
ThiscommandidentifiesaspecificIPDifferentiatedServiceCodePoint(DSCP)valueasamatch
criterion.Upto8IPDSCPvaluescanbematchedinonematchstatement.Forexample,ifyou
wantedtheIPDCSPvaluesof0,1,2,3,4,5,6,or7(notethatonly
oneoftheIPDSCPvaluesmust
beasuccessfulmatchcriterion,notallofthespecifiedIPDSCP values),enterthematch
ip dscp 0
1 2 3 4 5 6 7
command.
ThiscommandisusedbytheclassmaptoidentifyaspecificIPDSCPvaluemarking onapacket.
Theipdscpvalueargumentsareusedasmarkingsonly.TheIPDSCPvalueshavenomathematical
significance.Forinstance,theipdscpvalueof2isnotgreaterthan1.
Thevaluesimplyindicates
thatapacketmarkedwiththeipdscpvalueof2isdifferentthanapacketmarkedwiththeipdscp
valueof1.ThetreatmentofthesemarkedpacketsisdefinedbytheuserthroughthesettingofQoS
policiesinpolicymapclassconfigurat ionmode.
ieee802.1p-value
Priorityvalueinthe inputVLANheader,rangingfrom0to7.