Switch 7700 Command reference Guide, v2.0

Table Of Contents
QoS Configuration Commands List 291
a rule of an ACL, ranging from 0 to 127. If you do not set this parameter, all the
rules will be considered.
link-group { acl-number | acl-name } [ rule rule ]: Specifies a Layer-2 ACL.
acl-number: Specifies the ACL sequence number, ranging from 200 to 299,
acl-name: Specifies the ACL name with a character string starting with English
letters ([a-z, A-Z]) and excluding space and quotation mark.
rule rule: Specifies
a rule of an ACL, ranging from 0 to 127. If you do not set this parameter, all the
rules will be considered.
min-guaranteed-bandwidth: Reserves the minimum bandwidth in the unit of
Kbit/s, ranging from 0 to 8388608. The value must be multiple of 64kbit/s.
max-guaranteed-bandwidth: Sets the maximum bandwidth in the unit of Kbit/s,
ranging from 0 to 8388608. The value must be multiple of 64kbit/s.
weight: Bandwidth weight, ranging from 1 to 100. The value indicates the
percent. The
weight parameter is used for the case there are many traffics on one
port. For example, if there are two traffics on one port, the minimum bandwidths
are both set to 2M, the maximum bandwidths are both set to 8M, one traffic
weight is set to 40%, other is set to 80%, and the port bandwidth is 10M. So the
port can’t satisfy the requirement of the total maximum bandwidth, 16M. And
After assurance the minimum bandwidth of the two traffics, the port remains 6M
bandwidth. If the bandwidths occurred by the two traffics do not exceed the
minimum bandwidth configured, the bandwidth of the two traffics are the actual
bandwidth they occurred. If the bandwidths occurred by the two traffics exceed
the minimum bandwidth configured, the 6M bandwidth will distribute to the two
traffics according the ratio of weight (40%:80%=1:2), supposed the bandwidth
of first traffic can occurred is A, the bandwidth of second traffic can occurred is B,
then A=2M+ (10M-2*2M)*40%/(40%+80%)=4M, B=2M+
(10M-2*2M)*80%/(40%+80%)=6M.
The case that many traffic configured on the port: suppose there are N traffics on
the port, the port bandwidth is B
p
, the minimum bandwidth of i traffic is B
imin
, the
maximum bandwidth of i traffic is B
imax
, and weight is W
i
. If the bandwidths
occurred by the traffics exceed the minimum bandwidth configured and the sum
of B
imax
exceeds B
p
, the actual bandwidth of i traffic B
i
= B
imin
+(B
p
-)*W
i
/.
Description
Use the traffic-bandwidth command to reserve QoS bandwidth.
Use the undo traffic-bandwidth command to cancel the reserved QoS
bandwidth.
This command assures the specified traffic the minimum bandwidth and
maximum bandwidth, meanwhile configures a weight parameter.
Example
Set reserve minimum bandwidth 64k and maximum bandwidth 128k, weight is
20.
[SW7700-Ethernet3/0/1]traffic-bandwidth outbound ip-group 1 64 128
20