3com S7906E Reference Guide
1-2
qos gts
Syntax
qos gts queue queue-number cir committed-information-rate [ cbs committed-burst-size ]
undo qos gts queue queue-number
View
Ethernet interface view, port group view
Default Level
2: System level
Parameters
queue queue-number: Specifies a queue by its number, which ranges from 0 to 7.
cir committed-information-rate: Specifies the committed information rate (CIR) in kbps, which must be a
multiple of 64. For GigabitEthernet ports, CIR ranges from 64 to 1048576; for ten-GigabitEthernet ports,
CIR ranges from 64 to 10485760.
cbs committed-burst-size: Specifies the CBS (in bytes), which ranges from 4096 to 268435456 and
must be a multiple of 4096.
If the cbs keyword is not specified, the default CBS is 62.5 ms × committed-information-rate and must
be a multiple of 4096. If 62.5 ms × committed-information-rate is not a multiple of 4096, the default CBS
is the multiple of 4096 that is bigger than and nearest to 62.5 ms × committed-information-rate. The
maximum CBS is 268435456. For example, if the CIR is 640 kbps, then 62.5 ms × CIR is 62.5 ms × 640
= 40000. As 40000 is not a multiple of 4096, 40960, which is the multiple of 4096 that is bigger than and
nearest to 40000, is taken as the default CBS.
Description
Use the qos gts command to configure traffic shaping.
Use the undo qos gts command to remove the traffic shaping configuration.
In Ethernet interface view, the configuration takes effect on the current port. In port group view, the
configuration takes effect on all ports in the port group.
Examples
# Configure traffic shaping on GigabitEthernet 2/0/1 to limit the outgoing traffic rate of queue 2 to 640
kbps.
<Sysname> system-view
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] qos gts queue 2 cir 640
Line Rate Configuration Commands
display qos lr interface
Syntax
display qos lr interface [ interface-type interface-number ]