77
Table 27
Output description
Field
Description
Interface
Interface type and interface number
Rule(s) Match
criteria
CIR
Committed information rate (CIR) in kbps
CBS
Committed burst size in bytes, which specifies the depth of the token
bucket for holding traffic bursts
qos gts
Syntax
qos gts queue
queue-number
cir
committed-information-rate
[
cbs
committed-burst-size
]
undo qos gts queue
queue-number
View
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view
Default level
2: System level
Parameters
queue
queue-number
: Shapes the packets in the specified queue. The
queue-number
argument ranges
from 0 to 7.
cir
committed-information-rate
: Sets the committed information rate (CIR) in kbps, which specifies the
average traffic rate. The CIR must be a multiple of 8 and ranges from 8 to 1000000 for a GE port and
8 to 10000000 for a 10-GE port.
cbs
committed-burst-size
: Committed burst size (CBS) in bytes.
•
If you do not specify the
cbs
keyword, the CBS is 62.5 ×
committed-information-rate
by default and
must be a multiple of 512. If 62.5 ×
committed-information-rate
is not a multiple of 512, the closest
higher multiple of 512 applies.
•
If you specify the
cbs
keyword, the CBS ranges from 512 to 16777216 and must be a multiple of 512.
Description
Use the
qos gts
command to set GTS parameters for the packets in a specific queue.
Use the
undo
qos gts
command to remove GTS parameters for a specific class of traffic or all the traffic
on the interface or port group.
By default, no GTS parameters are configured on an interface.
Settings in interface view take effect on the current interface. Settings in port group view take effect on all
ports in the port group.
Examples
# Configure GTS for traffic of queue 2 on GigabitEthernet 1/0/1 using the following parameters: CIR is
640 kbps.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1