Description | This article describes how Class of service helps in Traffic prioritization. |
Scope | FortiGate. |
Solution |
VLAN Class of Service (vlan_cos) is part of the 802.1p standard where the value shown in the session table refers to the Class of Service (CoS) value assigned to a VLAN (Virtual LAN). This value is related to Quality of Service (QoS) in Ethernet frames and helps prioritize traffic at the layer 2 (Data Link Layer) level.
When VLAN tagging is used in a network, each Ethernet frame is tagged with a VLAN ID and a PCP field. The PCP (Priority Code Point) is what determines the vlan_cos value. The vlan_cos tells the switch, router, or firewall what level of priority this traffic should have for forwarding decisions.
Traffic prioritisation value is represented between 0 to 7 within vlan_cos tagging where each increment is equivalent to criticality of the given established session.
These COS values generally fall under three categories:
class_id=0 ha_id=0 policy_dir=0 tunnel=/ vlan_cos=3/255
vlan_cos=0/255 indicates that the traffic has a default, lowest-priority CoS (0) //means no priority has been assigned and is the default value.
|