Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 1 Traffic Policing and Shaping Configuration
Commands
3Com Corporation
1-6
Parameter
any: Performs TS on all the IP packets.
acl acl-number: Performs traffic shaping of packets matching the ACL, with acl-number
being the ACL number in the range of 2000 to 3999.
cir committed-information-rate: CIR, in the range 8000 to 155,000,000 bps.
cbs committed-burst-size: CBS, in the range 15,000 to 155,000,000 bits. When the CIR
value is less than 30,000, the default CBS value is 15,000; when the CIR value is
greater than 30,000, the default CBS value is half of the CIR value.
ebs excess-burst-size: EBS, in the range 0 to 155000000 bits. It defaults to 0, that is,
only one token bucket is used for policing.
queue-length queue-length: The maximum length of the buffer, in the range of 1 to
1024. By default, queue-length is 50.
Description
Use the qos gts command to set shaping parameters for all or a specified type of traffic
and perform traffic shaping.
Use the undo qos gts command to remove the shaping configuration for all or a
specified type of traffic.
qos gts acl is used to set shaping parameters for the packets that conforms to certain
ACL. Different ACLs can be used to set shaping parameters for different packets.
qos gts any is used to set shaping parameters for all packets.
qos gts acl cannot be used together with the qos gts any.
Repeated using qos gts will replace configuration set earlier.
Example
# Configure traffic shaping for the packets that conform to ACL rule 2001 at the
Ethernet6/0/0 interface. The normal traffic is 38400 bps. The burst size, twice of the
normal traffic, is allowed at the first time. Then packets are normally transmitted when
the traffic is less than or equal to 38400 bps. When the rate is larger than 38400 bps,
packets will be added to the buffer queue, which is 100 long.
[3Com -Ethernet6/0/0] qos gts acl 2001 cir 38400 cbs 76800 ebs 0 queue-length
100
1.3 Line Rate Configuration Commands
1.3.1 display qos lr interface
Syntax
display qos lr interface [ interface-type interface-number ]