3-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, and CIR ranges from 64 to 16777216.
cbs committed-burst-size
: Specifies the CBS (in bytes), which ranges from 4096 to 16777216 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 16777216. 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 1/0/1 to limit the outgoing traffic rate of queue 2 to 640
kbps.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/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
]
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...