set diffserv class match
8-6 Differentiated Services Configuration
dstip|srcipclassname
ipaddripmask
MatchestoaspecificclassbasedondestinationorsourceIP
address.
dstl4port|srcl4port
keywordclassname
keyword|number
classnameportnumber
Matchestoaspecificclassbasedondestinationorsourcelayer4
portnumberorkeyword.Validkeywordvaluesare:
• domain
•echo
•ftp
• ftpdata
•http
•smtp
•snmp
• telnet
•tftp
• www
Validportnumbervaluesare0
‐65535.
ipdscpclassnamedscpval MatchestoaspecificclassbasedonthevalueoftheIPDiffserv
CodePoint.Validnumericorkeywordvaluescanbeenteredas
listedinTable 8‐32below.
ipprecedenceclassname
precedencenumber
MatchestoaspecificclassbasedonthevalueoftheIPprecedence
field.Valid
precedencenumbervaluesare:0‐7.
iptosclassnametosbits
tosmask
MatchestoaspecificclassbasedonthevalueoftheIPtypeof
service(TOS)field.Validtosbitsvaluesare0‐255.Validtosmask
valuesare1‐8.
protocolkeyword
classnameprotocol‐name|
numberclassnameprotocol‐
number
Matchestoa
specificclassbasedonnumberorkeywordintheIP
protocolfield.Validprotocol‐namekeywordare:
•icmp
•igmp
•ip
•tcp
• udp
Validprotocol‐numbervaluesare 0‐255.
refclassadd|remove
classnamerefclassname
Addsorremovesasetofalreadydefinedmatchconditionstoa
specificclass.
vlanclassnamevlanid Matchestoaspecificclass
basedonVLANID.Validvaluesare1‐
4094.
Table 8-32 Valid IP DSCP Numeric and Keyword Values
Code Point Map Numeric Value Keyword (Usage)
b'000000 0be (best effort)
b'xxx000 0,8,16,24,32,40,48,56 cs0 - cs7 (Class Selector PHB)
b'001xx0 10,12,14 af11, af12, af13 (Assured Forwarding)