You can set the channel's maximum bandwidth so traffic control is implemented on the data transferred through the channel. The bandwidth used to transfer the data will not be greater than the maximum bandwidth specified. A limited BM channel is similar to a limitation channel. It works with the user quota policies configured at Online Activities>Bandwidth Management>Quota Control>Add > Quota Control [A113][LCH114]to impose a penalty on a user who exceeds a quota by connecting the user through the limited BM channel configured at Quota Control > Online Duration Quota > Action If Threshold is Reached.
Scenario:
A company leases an 800 Mbps line and has 1000 intranet users. Many marketing department personnel often download files using tools such as XunLei and P2P download tools, which occupy much bandwidth and affect the office jobs of other departments. Therefore, the Bandwidth Management system is to limit the daily download traffic to 1 GB and the monthly download traffic to 30 GB for each user in the marketing department. If a user exceeds a quota, the user is connected through the download traffic-limited BM channel corresponding to the marketing department. The channel limits the total bandwidth allocated to the user to 256 Kbps and limits the download bandwidth allocated to the user to 128 Kbps as a penalty.
Configuration steps:
Step 1.Choose Bandwidth Management > Line Bandwidth and configure Internet line bandwidth. Click Line 1. The Edit Line Bandwidth window is displayed. In this example, the company leases an 800 Mbps line; therefore, the values of Outbound and Inbound are set to 800 Mbps.
Step 2.Choose Bandwidth Management > Bandwidth Channel.
Select Enable Bandwidth Management System to enable Bandwidth Management.
The Line Bandwidth section displays the total bandwidth of all Internet lines. Click Edit Line Bandwidth. The Edit Line Bandwidth page is displayed.
Click Advanced, set the Low Bandwidth Usage Threshold, and specify whether to enable a high bandwidth usage threshold. See the following figure.
Low Bandwidth Usage Threshold: Set the line low bandwidth usage threshold. When the load of a line is lower than the low bandwidth usage threshold, the limitation channels with intelligent tuning enabled can increase the channel bandwidth to a value greater than the user-defined upper limit to keep the load close to the low bandwidth usage threshold. The bandwidth is decreased to the upper limit when the load exceeds the threshold.
High Bandwidth Usage Threshold: It ensures line availability during peak traffic hours and improves dynamic bandwidth assurance performance. By default, High Bandwidth Usage Threshold is disabled. You can select the High Bandwidth Usage Threshold to enable the function and set the upper limits on the upstream and downstream traffic. The default values are recommended. In the Bandwidth Control section, select either of the following options:
Based on IP Addresses (When multiple IP addresses are connected to the Internet with the same username, traffic control is implemented for each IP address.)
Based on username (When multiple IP addresses are connected to the Internet with the same username, traffic control is implemented for all the IP addresses as a whole.)
To save the configuration, click OK.
To cancel the configuration, click Cancel.
If you are not sure about the advanced settings, you can click Restore Defaults[A115] to use the recommended settings.[LCH116][117]
Step 3.Configure the limited BM channel.
In this example, traffic control is applied to the transferred data of marketing personnel, and the total bandwidth is limited to 256 Kbps.
On the Bandwidth Management tab page, click Add and choose Add Limited BM Channel. The Add Limited BM Channel page is displayed.
If Enable Channel is selected, the channel is enabled. Otherwise, it is disabled.
Enter the name of the channel in the Channel Name text box. The Home Channel field displays the level of the channel and / indicates a level-1 channel.
In the Channel Editing menu, choose Bandwidth Channel Settings. The related attributes for setting the channel are on the right.
Bandwidth Channel Settings: Set the channel type, limited bandwidth, and per-user bandwidth.
Bandwidth Channel Type: Select a channel type and set bandwidth thresholds. In this example, marketing personnel's bandwidth for data transfer is limited. Select Limited Channel and set Outbound Bandwidth and Inbound Bandwidth to 20% of the total bandwidth each. The total bandwidth is 800 Mbps; therefore, the limited bandwidth is 4 Mbps. Priority includes three options, High, Medium, and Low, which indicate the priority of bandwidth allocation to the channel during peak traffic hours.
Restrain inbound P2P packet loss: To specify whether to control the downstream packet loss rate of P2P download and streaming media applications. It is recommended to select this option for P2P applications only.
Threshold can be exceeded if line is not busy: Specify whether to enable the intelligent tuning function for the channel. If it is selected, the function is enabled. You can click Settings under Threshold can be exceeded if line is not busy to go to the page to set the line low bandwidth usage threshold. After the function is enabled, when the line load is lower than the low bandwidth usage threshold, the limitation channel can increase the channel bandwidth to a value greater than the user-defined upper limit to keep the load close to the low bandwidth usage threshold. The bandwidth is decreased to the upper limit when the load exceeds the threshold.
Maximum Bandwidth Per User: Limit the bandwidth available to each IP address using the channel. In this example, the data transfer bandwidth for each user in the marketing department is limited to 128 Kbps. Set Outbound and Inbound to 128 Kbps.
Advanced: If this option is selected, each external network IP address can be regarded as a user in the channel so that bandwidth can be fairly allocated among the users in the channel. Each user's maximum bandwidth attribute set applies to the external network IP addresses. (This option is generally used by servers providing services externally. Use it with caution.)
Channel Availability: It specifies the data types to which the channel is available. The channel is available only when the criteria, including applicable application, effective time, and destination IP address group, are met.[LCH118][119]
Objects: Specify the application types to which the channel is available. Applications indicate all types of applications. Specified allows you to select application types. You can click Select and select application types in the User-Defined Applicable Service and Application dialog box that appears. In this example, select All to implement traffic control over all data. Make sure that the Selected list is correct and click OK.
Scheduled: Set the effective time of the channel.
Destination: Select the destination IP address group.
After the parameters are set, the settings are displayed. See the following figure.
Click OK. A window will prompt, as shown in the following figure.
Step 4.The Bandwidth Channel tab page displays the configured channel.
Step 5.Access the Quota Control tab page, click Add, and choose Quota Control.
Step 6.Configure a user quota policy.
In this example, the daily download traffic of each user in the marketing department cannot exceed 1 GB, and the monthly download traffic cannot exceed 30 GB.
If Enable This Policy is selected, the policy is enabled. Otherwise, it is disabled.
Enter the name of the policy in the Policy Name text box and the description of the policy in the Description text box to facilitate management.
Quota Policy: Select the user limitation type and set related parameters. In this example, the traffic quota for P2P download tools such as XunLei must be limited for the marketing department. Select Flow Quota and set the parameters.
You can select the start day of each month within the range of 1 to 28. For example, if you choose 8, May 8 to June 8 is regarded as one month. Each month consists of 30 days.
Flow Quota Per User is to set detailed limitation parameters.
Period: Specify the period in which statistics are collected. You can define a period. In this example, the period is set to All Day.
Application: Specify the application types involved in the statistics. In this example, Download Tool/All, P2P/All, and P2P Streaming Media/All are selected.
Daily Quota: Set the daily traffic quota for each user. In this example, it is set to 1 GB.
Monthly Quota: Set the monthly traffic quota for each user. In this example, it is set to 30 GB.
Action If Threshold is Reached is to set the handling method used after a user exceeds a quota. The methods include sending an alarm mail, notifying an administrator, displaying a user notification page when a user's quota reaches a specific percentage, and imposing a penalty on a user. This example describes the method of imposing a penalty on a user. For details on the other methods, see the Quota Control section.
Select Penalty, Add to Traffic Control Channel, and then the Download Traffic Limited BM channel for Marketing Department policy.
Object is to select the users, locations, endpoint types, and destination areas to which the policy is applicable. In this example, the marketing department is selected.
Click OK[A120].
User Quota displays the configured policy.
Quota Policy provides five quota control, including Flow Quota, Online Duration Quota, Bandwidth, Concurrent Connections, and Online Endpoints. This section describes the method to configure a limited BM channel and only one type of user quota policy.