Class
You can classify incoming packets at Layers 2, 3 and 4 by inspecting the following information for a packet:
-
Source/destination MAC address
-
EtherType
-
Class of Service (802.1p priority) value (first/only VLAN tag)
-
VLAN ID range (first/only VLAN tag)
-
Secondary 802.1p priority value (second/inner VLAN tag)
-
Secondary VLAN ID range (second/inner VLAN tag)
-
IP Service Type octet (also known as: ToS bits, Precedence value, DSCP value)
-
Layer 4 protocol (TCP, UDP and so on)
-
Layer 4 source/destination ports
-
Source/destination IP address
From a DiffServ point of view, there are two types of classes:
-
DiffServ traffic classes
-
DiffServ service levels/forwarding classes