qos gts

Use qos gts any to set GTS parameters for all the traffic on the interface.

Use qos gts queue to set GTS parameters for the packets in a specific queue.

Use undo qos gts to remove GTS parameters for a specific traffic class or all the traffic on an interface.

Syntax

qos gts { any | queue queue-number } cir committed-information-rate [ cbs committed-burst-size ]

undo qos gts { any | queue queue-number }

Default

No GTS parameters are configured on an interface.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

any: Shapes all packets.

queue queue-number: Shapes the packets in the queue specified by queue-number, in the range of 0 to 7.

cir committed-information-rate: Specifies the CIR in kbps. The value range for committed-information-rate is 1000 to 1000000 for GE interfaces, and 2500 to 10000000 for 10-GE interfaces, 1000 to 40000000 for 40-GE interfaces, and 1000 to 100000000 for 100-GE interfaces.

cbs committed-burst-size: Specifies the CBS in bytes, in the range of 16384 to 16777215. By default, the CBS is the amount of traffic transmitted at the rate of CIR over 500 ms.

Usage guidelines

HP recommends that you set the committed-burst-size argument, if necessary, to be greater than 6.25 times the committed-information-rate argument to accommodate traffic bursts.

Examples

# Shape the packets matching ACL 2001 on GigabitEthernet 3/0/1. The GTS parameters are as follows: CIR is 1200 kbps, and CBS is 50000 bytes.

<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] qos gts any cir 1200 cbs 50000