H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – QoS
H3C S7500 Series Ethernet Switches Chapter 1
QoS Commands
1-23
system-index: Specifies an interior index value which is used when an ACL rule is
applied to the port. The index value ranges from 0 to 4294967295. This keyword is only
available when the ACL rule number is specified in the command. After the specified
ACL takes effect, there are three scenarios when you input the index value:
z If you do not input an index value or the index value you input is 0, the system will
automatically assign an index whose value is greater than 0;
z If the input index value is not 0 and does not conflict with the interior index used by
the system, the system will adopt the index value input by you;
z If the input index value is not 0 but conflicts with the interior index used by the
system, the system will reassign an index value.
When the specified ACL rule is not effective, the system will adopt the index value input
by you.
min-guaranteed-bandwidth: Minimum guaranteed bandwidth in kbps, in the range of 0
to 8,388,608. It must be a multiple of 64.
max-guaranteed-bandwidth: Maximum guaranteed bandwidth in kbps, in the range of 0
to 8,388,608. It must be the multiple(s) of 64.
weight: Bandwidth weight in the range of 1 to 100, in percentage. It is used in the
situations when bandwidth guarantees are enabled for multiple flows respectively on
the current port. For example, bandwidth guarantees are enabled for two flows on a
port with 10 M of bandwidth. The minimum guaranteed bandwidth for each flow is 2 M,
the maximum guaranteed bandwidth is 8 M, and the bandwidth weights are 40% and
80% respectively. After the port guarantees the minimum bandwidth for both flows (that
is, 4 M), the remaining bandwidth (6M) cannot support the maximum bandwidth of both
flows (16M). If the bandwidth occupied by the two flows exceeds the minimum
guaranteed bandwidth, then the remaining bandwidth (6 M) will be allocated to each
flow according to the bandwidth weights (40% : 80%).
Note:
Assume there are N flows on a port, the bandwidth of the port is Bp, the minimum
guaranteed bandwidth of the ith flow is Bimin, the maximum guaranteed bandwidth of
the ith flow is Bimax, and the weight is Wi. If the bandwidth occupied by all the flows is
greater than their minimum guaranteed bandwidth, and the sum of maximum
guaranteed bandwidth is greater than port bandwidth Bp, the bandwidth allocated to
the ith flow is Bi= Bimin+(Bp-
N
i
B
min
)*Wi/
N
Wi
.