Differentiated Services (DiffServ)
19.2 class-map
Manage DiffServ classes.
19.2.1 class-map name
Configure a Diffserv class.
Mode: Global Config Mode
Privilege Level: Operator
Format: class-map name <P-1> match any ethertype <P-2>
cos <P-3> secondary-cos <P-4> destination-address <P-
5> <P-6> <P-7> source-address <P-8> <P-9> <P-10> dstip
<P-11> <P-12> srcip <P-13> <P-14> dstl4port <P-15>
srcl4port <P-16> ip dscp <P-17> precedence <P-18> tos
<P-19> <P-20> protocol <P-21> vlan <P-22> secondary-
vlan <P-23> class-map <P-24> <P-25>
match: Add a match rule for the class.
any: Match any packet.
ethertype: Add a match condition based on the ethertype value.
cos: Add a match condition based on the COS value.
secondary-cos: Add a match condition based on the secondary COS
value.
destination-address: Add a match condition based on the destination
mac address.
source-address: Add a match condition based on the source mac
address.
dstip: Add a match condition based on the destination IPv4 address.
srcip: Add a match condition based on the source IP address.
dstl4port: Add a match condition based on the layer 4 destination port.
srcl4port: Add a match condition based on the layer 4 source port.
ip: Add a match condition based on IP DSCP, precedence or TOS fields.
dscp: Add a match condition based on the IP DSCP field.
precedence: Add a match condition based on the IP precedence field.
tos: Add a match condition based on the IP TOS field.
RM CLI HiOS-3S RSP
Release 6.1 09/2016
19.2 class-map
283