Enterasys Networks XSR CLI Router User Manual


 
Class-map Commands
12-104 Configuring Quality of Service
Syntax
match ip dscp ip-dscp-value [ip-dscp-value][ip-dscp-value] [ip-dscp-value] [ip-
dscp-value][ip-dscp-value][ip-dscp-value][ip-dscp-value]
Syntax of the “no” Form
ToremoveaspecificIPDSCPvaluefromaclassmap,usethenoformofthiscommand:
no match ip dscp ip-dscp-value [ip-dscp-value][ip-dscp-value][ip-dscp-value][ip-
dscp-value][ip-dscp-value][ip-dscp-value][ip-dscp-value]
Mode
Classmapconfiguration:XSR(config-cmap-xx)#
Example
Thefollowingexampleshowshowtoconfiguretheservicepolicycalledpriority55andattach
servicepolicypriority55toaninterface.Inthisexample,theclassmapipdscp15willevaluateall
packetsenteringinterfaceF1foranIPDSCPvalueof15.Iftheincomingpackethasbeenmarked
withthe
IPDSCPvalueof15,thepacketwillbetreatedwithahighprioritylevel.
XSR(config)#class-map ipdscp15
XSR(config-cmap<ipdscp15>)#match ip dscp 15
XSR(config)#policy-map priority55
XSR(config-pmap<priority55>)#class ipdscp15
XSR(config-pmap-c<ipdscp15>)#priority high 55
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#service-policy output priority55
match ip precedence
ThiscommandidentifiesIPprecedencevaluesasmatchcriteria.Upto4precedencevaluescanbe
matchedinonematchstatement.Forexample,ifyouwantedtheIPprecedencevaluesof0,1,2,or
3(notethatonlyoneoftheIPprecedencevaluesmustbeasuccessfulmatchcriterion,
notallofthe
specifiedIPprecedencevalues),enterthe
match ip precedence 0 1 2 3command.
Theipprecedencevalueargumentsareusedasmarkingsonly,theyhavenomathematical
significance.Forinstance,theipprecedencevalueof2isnotgreaterthan1. Thevaluesimply
indicatesthatapacketmarkedwiththeipprecedencevalueof2isdifferentthanapacketmarked
with
theipprecedencevalueof1.Youdefinethetreatmentofthesedifferentpacketsbysetting
QoSpoliciesinPolicymapClassconfigurationmode.
Syntax
match ip precedence ip-precedence-value [ip-precedence-value] [ip-precedence-
value][ip-precedence-value][ip-precedence-value][ip-precedence-value][ip-
precedence-value] [ip-precedence-value][ip-precedence-value]
ip-dscp-value
Specifiesavaluefrom0to63toidentifyanIPDSCPvalue.
ip-precedence-value
SpecifiesanIPprecedencevaluefrom0to7.