Hello!
First, let's look at QoS processing.
Upstream QoS processing on the MA5600T/MA5603T

Downstream QoS processing on the MA5600T/MA5603T

Traffic classification on the MA5600T/MA5603T is a technology that differentiates user services according to the characteristics of user Ethernet packets. The major purpose of traffic classification is to support multi-service applications and guarantee QoS for each service (each traffic stream) of each user.
Traffic classification process

VLAN-based traffic classification

Specifications of traffic classification
| Traffic Classification Type | Traffic Classification Parameter | Description |
| Single service | None (Any) | No traffic classification is performed. |
| By EtherType | PPPoE | The EtherType is 0x8863 or 0x8864. |
| IPoE | All Ethernet packets that do not match the PPPoE encapsulation type are regarded as IPoE packets. | |
| By CVLAN | 1-4095 | VLANs 1-4095 are normal VLAN tags. |
| priority-tagged | Priority-tagged is a tag of VLAN 0 and is also called null-tag. | |
untagged | Untagged packets match this rule. | |
| other-all (any other) | Packets that do not match the other rules match this rule. | |
| VLAN range | The ranges of start VLAN ID and end VLAN ID are both 1 to 4095, but the end VLAN ID must be larger than the start VLAN ID. Currently, only EPON supports VLAN range, which corresponds to the EPON port, not LLID. The VLAN range (also called raw streams) in EPON is actually a type of bulk-processed traffic streams based on SVLAN+CVLAN forwarding. It is particularly applicable to the wholesale scenarios, for example, bulk operation on the same type of services (same SVLAN) of all ONUs (different CVLANs) connected to a PON port. In this scenario, when a user is added, no additional traffic stream is required when the CVLAN of this user is within the VLAN range. | |
| By CVLAN | 1-4095 | VLANs 1-4095 are normal VLAN tags. |
| By CVLAN+802.1p priority (P-bits) | VLAN: 1-4095 P-bits: 0-7 | VLANs 1-4095 are normal VLAN tags. |
VLAN: priority-tagged P-bits: 0-7 | Priority-tagged is a tag of VLAN 0. In this case, only the value of p-bits is required to be input. | |
| By VLAN+EtherType | VLAN: 1-4095 EtherType: PPPoE, IPoE | VLANs 1-4095 are normal VLAN tags. |
VLAN: priority-tagged EtherType: PPPoE, IPoE | Priority-tagged is a tag of VLAN 0. | |
VLAN: untagged EtherType: PPPoE, IPoE | Untagged PPPoE or IPoE packets adopt this rule. | |
| By dual-VLAN (SVLAN+CVLAN) | Outer VLAN: 1-4095 Inner VLAN: 1-4095 | It is traffic classification by dual-VLAN tags. |
Currently, on live networks, traffic classification based on VLAN and traffic classification based on VLAN+priority are mainly used.
I hope it's helpful.
Thank you!