Firewall > QoS Mapping
484
SonicOS Enhanced 4.0 Administrator Guide
Outbound BWM Packet Processing Path
a. Determine that the packet is bound for the WAN Zone.
b. Determine that the packet is classifiable as a Firewall packet.
c. Match the packet to an Access Rule to determine BWM setting.
d. Queue the packet in the appropriate rule queue.
Guaranteed Bandwidth Processing
This algorithm depicts how all the policies use up the GBW.
a. Start with a link credit equal to available link BW.
b. Initialize the class credit with configured GBW for the rule.
c. If that packet length is less than or equal to the class credit, transmit the packet and
deduct the length from class credit and link credit.
d. Choose the next packet from queue and repeat step c until class credit is lesser or rule
queue is empty.
e. Choose the next rule queue and repeat steps b through d.
Maximum Bandwidth Processing
This algorithm depicts how the unutilized link BW is used up by the policies. We start with the
highest priority ring and transmit packets from all the rule queues in a round robin fashion until
link credit is exhausted or all queues are empty. Then we move on to the next lowest priority
ring and repeat the same.
a. Start with the link credit equal to the left over link BW after GBW utilization.
b. Choose the highest priority ring.
c. Initialize class credit to (MBW - GBW).
d. Check if the length of a packet from the rule queue is below class credit as well as link
credit.
e. If yes, transmit the packet and deduct the length from class credit and link credit.
f. Choose the next rule queue and repeat steps c through f until link credit gets exhausted
or this priority ring has all its queues empty.
g. Choose the next lowest priority ring and repeat steps c through f.