qos gts

Use qos gts to set GTS parameters for a queue on an interface.

Use undo qos gts to delete the GTS configuration of a queue on an interface.

Syntax

qos gts queue queue-id cir committed-information-rate [ cbs committed-burst-size ]

undo qos gts queue queue-id

Default

No GTS parameters are set for a queue on an interface.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

queue queue-id: Specifies a queue by its ID in the range of 0 to 7.

cir committed-information-rate: Specifies the CIR in kbps. The value range for the committed-information-rate argument is 8 to 1048576 for GE interfaces, 8 to 10485760 for 10-GE interfaces, and 8 to 41943040 for 40-GE interfaces. The values must be integral multiples of 8.

cbs committed-burst-size: Specifies the CBS in bytes. The value range for the committed-burst-size argument is 512 and 16777216 in multiples of 512. The default value for this argument is the product of 62.5 and the CIR and must be an integral multiple of 512. If the product is not an integral multiple of 512, it is rounded up to the nearest integral multiple of 512.

Examples

# Shape the packets in queue 1 on GigabitEthernet 1/0/1. The GTS parameters are as follows: CIR is 6400 kbps and CBS is 51200 bytes.

<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos gts queue 1 cir 6400 cbs 51200