In a flow-based WFQ solution, bandwidth is allocated to traffic flows based on the following criteria:
The priority of the traffic flow
The amount of bandwidth that is available
The number of traffic flows that are competing for bandwidth
Voice traffic is typically given a higher priority than other types of traffic, such as data traffic. This is because voice traffic is more sensitive to latency and jitter than data traffic.
When there is not enough bandwidth to accommodate all of the traffic flows, the WFQ algorithm will prioritize the traffic flows based on their priority. The traffic flows with the highest priority will be given the most bandwidth, and the traffic flows with the lowest priority will be given the least bandwidth.
If there is still not enough bandwidth to accommodate all of the traffic flows, the WFQ algorithm will start to drop packets. The packets that are dropped will be the packets from the traffic flows with the lowest priority.