The bandwidth maximum-bandwidth { per-ip | per-user } command sets the maximum bandwidth for each IP address or user in a traffic profile.
The undo bandwidth maximum-bandwidth { per-ip | per-user } command deletes the maximum bandwidth for each IP address or user specified in a traffic profile.
bandwidth maximum-bandwidth { per-ip | per-user } { upstream | downstream | both } max-value
undo bandwidth maximum-bandwidth { per-ip | per-user } { upstream | downstream | both }
| Parameter | Description | Value |
|---|---|---|
per-ip |
Indicates maximum bandwidth for each IP address. |
- |
per-user |
Indicates maximum bandwidth for each user. |
- |
upstream |
Indicates the maximum upstream bandwidth. |
- |
downstream |
Indicates the maximum downstream bandwidth. |
- |
both |
Indicates the total of maximum upstream and downstream bandwidth. Only the USG6610E/6620E, USG6630E/6650E, USG6680E and USG6712E/6716E support this parameter. |
- |
max-value |
Specifies the maximum bandwidth. |
The value is an integer ranging from 60 to 200000000, in kbit/s. |
The maximum bandwidth for each IP address or user cannot be greater than the overall maximum bandwidth in a traffic profile.
# Set the maximum upstream bandwidth for each IP address to 2 Mbit/s 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 per-ip upstream 2000