This article shows the steps needed to configure bandwidth management (BWM). SonicOS offers an integrated traffic shaping mechanism through its Interfaces, for both Egress (Outbound) and Ingress (Inbound) traffic. Outbound BWM can be applied to traffic sourced from Trusted and Public Zones (such as LAN and DMZ) destined to Untrusted and Encrypted Zones (such as WAN and VPN). Inbound BWM can be applied to traffic sourced from Untrusted and Encrypted Zones destined to Trusted and Public Zones.
In this article there is a real configuration related to the Bandwidth Management for VoIP traffic from any source to any destination from LAN to WAN for VoIP service.
CAUTION: Once BWM has been enabled on an Interface, and a Link Speed has been defined, traffic traversing that link will be throttled both inbound and outbound to the declared values, even if no other settings are configured relating to BWM.
Enabling Bandwidth Management (Either Advanced or Global).
1 :- Click Manage in the top navigation menu.
2:- Navigate to Firewall Settings | BWM. Select either Advanced or Global, depending on your desired configuration.
3 :- Click Accept.
Configure Bandwidth Management in WAN Interface
1:- Navigate to Network | Interfaces and on the right side of the screen open the configure menu for the desired WAN Interface.
2:- Navigate to Advanced tab an Enable both the Ingress and Egress Bandwidth Limitation check boxes.
3:- Input the Ingress and Egress Speeds of your WAN in Kbps. If you're unsure of these values, contact your ISP.
4:- Click OK.
Creating Bandwidth Object (Only for Advanced BWM)
1:- Click Manage in the top navigation menu.
2:- Navigate to Objects | Bandwidth Objects and click Add.
3:- Add a Name, Guaranteed/Maximum Bandwidth, Traffic Priority, and Violation Action.
4:- Click OK.
Creating or Editing an Access Rule to apply Bandwidth Management
Navigate to Rules | Access Rules and find the access rule you'd like to apply BWM to. If a new access rule is required. Click configure on the relevant access rule or click Add and create the rule by entering the desired Source, Destination, Service, etc. into the fields.
TIP: If you're unfamiliar with setting up Access Rules, please reference How to Enable Port Forwarding and Allow Access to a Server Through the SonicWall.
2:- On the access rule creation/modification screen, select the BWM tab. On the BWM tab, enable Egress or Ingress Bandwidth Management, depending on which you wish to enforce and select the appropriate Bandwidth Priority (if Global BWM) or Bandwidth Object (if Advanced BWM).
3:- Click OK.