set diffserv class match
9-6 Differentiated Services Configuration
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 9‐1below.
ipprecedenceclassname
precedencenumber
MatchestoaspecificclassbasedonthevalueoftheIP precedence
field.Validprecedencenumbervaluesare:0‐7.
iptosclassnametosbits
tosmask
Matchestoaspecificclassbasedonthevalue
oftheIPtypeof
service(TOS)field.Validtosbitsvaluesare0‐255.Validtosmask
valuesare1‐8.
protocolkeyword
classnameprotocol‐name|
numberclassnameprotocol‐
number
MatchestoaspecificclassbasedonnumberorkeywordintheIP
protocolfield.Validprotocol‐namekeywordare:
•icmp
•igmp
•ip
•tcp
• udp
Validprotocol‐numbervaluesare0‐255.
refclassadd|remove
classnamerefclassname
Addsorremovesasetofalreadydefinedmatchconditionstoa
specificclass.
vlanclassnamevlanid MatchestoaspecificclassbasedonVLANID.Validvaluesare1‐
4094.
Table 9-1 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)