R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

81
qos gts
Use qos gts to set GTS parameters for a specific class of traffic or all the traffic on the interface or port
group.
Use qos gts acl to set GTS parameters for the traffic matching the specific ACL. You can set GTS
parameters for different traffic flows by using different ACLs.
Use qos gts any to set GTS parameters for all the traffic on the interface or port group.
Use undo qos gts to remove GTS parameters for a specific class of traffic or all the traffic on the interface
or port group.
Syntax
qos gts { any | acl acl-number } cir committed-information-rate [ cbs committed-burst-size [ ebs
excess-burst-size ] [ queue-length queue-length ] ]
undo qos gts { any | acl acl-number }
Default
No GTS parameters are configured on an interface.
Views
Interface view, port group view
Default command level
2: System level
Parameters
any: Shapes all packets.
acl acl-number: Shapes packets that match the specified ACL.
cir committed-information-rate: CIR in kbps.
cbs committed-burst-size: CBS in bytes.
ebs excess-burst-size: Excessive burst size (EBS) in bytes, which specifies the traffic exceeding CBS when
two token buckets are used. By default, the EBS is 0 and only one token bucket is used.
queue-length queue-length: Maximum queue length in the buffer. The maximum buffer queue length is
50 by default.
Usage guidelines
Settings in interface view take effect on the current interface. Settings in port group view take effect on all
ports in the port group.
When you configure GTS parameters on an interface or port group, ACLs for IPv6 are not supported. To
use ACLs for IPv6 for GTS, configure GTS by using the MQC approach.
Examples
# Shape the packets matching ACL 2001 on Ethernet 1/1. The GTS parameters are as follows: CIR is
200 kbps, CBS is 50000 bytes, EBS is 0, and the maximum buffer queue length is 100.
<Sysname> system-view
[Sysname] interface ethernet1/1
[Sysname-Ethernet1/1] qos gts acl 2001 cir 200 cbs 50000 ebs 0 queue-length 100