The bandwidth average command enables dynamic even distribution of bandwidth resources for each IP address or user.
The undo bandwidth average command disables dynamic even distribution of bandwidth resources for each IP address or user.
bandwidth average { per-ip | per-user } { auto | manual multiplier multiplier minimum minimum }
undo bandwidth average
| Parameter | Description | Value |
|---|---|---|
per-ip |
Indicates dynamic even distribution of bandwidth resources for each IP address. |
- |
per-user |
Indicates dynamic even distribution of bandwidth resources for each user. |
- |
auto |
Indicates automatic dynamic even distribution. |
- |
manual |
Indicates manual dynamic even distribution. |
- |
multiplier multiplier |
Specifies an even distribution multiplier. |
The value is an integer ranging from 1 to 10. |
minimum minimum |
Specifies the minimum bandwidth. |
The value is an integer ranging from 60 to 10000, in kbit/s. |
All models except USG6635E/6655E, USG6680E and USG6712E/6716E support this command.
By default, dynamic even distribution of bandwidth resources is disabled for each IP address or user. After you enable this function, the bandwidth maximum-bandwidth command becomes invalid.
If overall maximum bandwidth is configured, the FW dynamically distributes the same amount of maximum bandwidth available for each online IP address or user based on the total number of online IP addresses or users and bandwidth usage. The formula is as follows:
Per-IP-address or per-user maximum bandwidth = MAX (Minimum bandwidth, Overall maximum bandwidth/IP address or user number x Even distribution multiplier)
Based on the formula, the larger value between the two values in the bracket is the per-IP-address or per-user maximum bandwidth. The minimum bandwidth is introduced into the formula in case that the number of online IP addresses or users is too large. The even distribution multiplier is introduced to prevent bandwidth waste in case that each IP address or user requires small bandwidth (far less than the assigned peak value). You can increase the value of the even distribution multiplier for bandwidth multiplexing.
If the bandwidth usage is less than or equal to 70%, the even distribution multiplier is 0.
If the bandwidth usage is greater than 70% and less than or equal to 75%, the even distribution multiplier is 4.
If the bandwidth usage is greater than 75% and less than or equal to 80%, the even distribution multiplier is 3.
If the bandwidth usage is greater than 80% and less than or equal to 85%, the even distribution multiplier is 2.
If the bandwidth usage is greater than 85%, the even distribution multiplier is 1.
When the dynamic even distribution mode is manual (manual), you can configure the even distribution multiplier and minimum bandwidth as required.
# Enable dynamic even distribution of bandwidth resources in traffic profile traffic_profile.
<sysname> system-view [sysname] traffic-policy [sysname-policy-traffic] profile traffic_profile [sysname-policy-traffic-profile-traffic_profile] bandwidth maximum-bandwidth whole downstream 20000 [sysname-policy-traffic-profile-traffic_profile] bandwidth average per-ip auto