set diffserv class match
8-6 Differentiated Services Configuration
dstip|srcipclassname
ipaddripmask
MatchestoaspecificclassbasedondestinationorsourceIP
address.
dstl4port|srcl4port
keywordclassname
keyword|number
classnameportnumber
Matchestoaspecificclassbasedondestinationorsourcelayer4
portnumberorkeyword.Valid keywordvalues are:
• domain
•echo
•ftp
• ftpdata
•http
•smtp
•snmp
• telnet
•tftp
• www
Vali dportnumbervalues are0‐65535.
ipdscpclassnamedscpval MatchestoaspecificclassbasedonthevalueoftheIPDiffserv
CodePoint.Va lid numericorkeywordvaluescanbeenteredas
listedinTabl e 832below.
ipprecedenceclassname
precedencenumber
MatchestoaspecificclassbasedonthevalueoftheIPprecedence
field.Validprecedencenumbervaluesare:0‐7.
iptosclassnametosbits
tosmask
MatchestoaspecificclassbasedonthevalueoftheIPtypeof
service(TOS)field.Vali dtosbitsvalues are0‐255.Validtosmask
valuesare1‐8.
protocolkeyword
classnameprotocolname|
numberclassnameprotocol
number
MatchestoaspecificclassbasedonnumberorkeywordintheIP
protocolfield.Vali dprotocolnamekeywordare:
•icmp
•igmp
•ip
•tcp
• udp
Vali dprotocolnumbervalue sare0‐255.
refclassadd|remove
classnamerefclassname
Addsorremovesasetofalreadydefinedmatchconditionstoa
specificclass.
vlanclassnamevlanid MatchestoaspecificclassbasedonVLANID.Vali dvalue sare1‐
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)