Sometimes, you as an admin want to regulate the bandwidth used by your clients. This tutorial will show how to do so on most of our units. The basics remain very similar throughout our product range!
The first part of the tutorial will show you how to set up a bandwidth-management rule using SIP traffic as an example
This second part of the tutorial will provide two scenarios for setting up QoS. One of the main reasons users enable bandwidth management (QoS) is to prioritize VoIP traffic. This guide will provide instructions on creating a QoS rule to prioritize VoIP, as well as prioritizing traffic for specific device(s).
Table of Content
Section A: Configure BWM
Section B: Configuring VoIP using BWM
Section A: Configure BWM
1. Log in to the unit by entering IP address and the credentials for an admin account
2. Navigate to Configuration > BWM and check the box to enable BWM
3. Depending on your device (ZyWall USG 50 or higher and Next-Gen USG Series), you can tick “Enable Highest Bandwidth Priority for SIP Traffic”. This option uses the default SIP-port UDP 5060.
4. Depending on your scenario you need to create objects for your services and IP addresses:
Navigate to Configuration > Object > Address/Geo IP in order to create IP Address objects for your SIP phones for example - using the “Address Group” tab above, you can put these objects into a group to use them later on in your BWM
5. Navigate to Configuration > Object > Service and create a desired service object
6. Navigate to Configuration > Object > Service to create a schedule when the BWM rule should apply
7. Now navigate back to Configuration > BWM and click “Add”, choose a fitting name, choose the previously created “Schedule”, “Incoming Interface” (usually one of your LAN networks) and the “Service Object”
8. Scroll down to “Bandwidth Shaping” and choose a desired Priority for the Inbound and Outbound Traffic (7 = lowest priority, 1 = highest priority, 5 = default for VOIP traffic)
That´s it! Now you have successfully created a BWM rule that is prioritizing your VOIP traffic.
Section B: Configuring VoIP using BWM
Enabling BWM
All rules created by user will have a higher priority, depending on user configuration. All other traffic will have a priority of 7 based on the default BWM rule.
QoS for VoIP Service
Note: Do this only if the "Enable Highest Bandwidth Priority for SIP Traffic" checkbox is unchecked or unavailable on your appliance model.
- Go to Service Object and select SIP (or the ports used for the VoIP)
- Scroll down to the Bandwidth Shaping option and set the Priority to 1 (highest priority)
- Leave all other fields as default
If you are using a proprietary VoIP port you will need to first create the service object. Go to Configuration() → Object → Service and click the Add button to insert and object for proprietary VoIP port number.
Once you have created the object for the service port you can create the BWM rule to prioritize this particular VoIP port.
QoS based on IP-address
To allow a specific node priority based on its IP address, we must first create the address object. Go to Configuration() → Object → Address and click the Add button to insert the IP address entry for the device.
Now that the address object has been created we can create the BWM rule to prioritize all traffic from the device.
- For the Incoming Interface field under the "Criteria" select LAN1 (this is the internal interface the device is connected to on the router)
- For the Outgoing Interface field select the appropriate WAN connection or select the SYSTEM_DEFAULT_WAN_TRUNK to apply the bandwidth management priority through all WAN connections
- For the Source field select the address object you created for the device IP (IP_Phone based on this guide)
- Scroll down to the Bandwidth Shaping and set the priority (1 being the highest)