Generic traffic shaping
Generic traffic shaping (GTS) is a traffic shaping implementation that attempts to regulate flows in order to prevent bursts that cause network congestion. That said, GTS has other benefits that are discussed below.
GTS employs a token bucket, which, unlike CAR, queues nonconforming traffic instead of discarding it. Traffic is allowed on the network according to the tokens available. Bursts are allowed through configuration.
By queuing nonconforming traffic, GTS helps prevent packet loss in networks that do not recognize or discriminate traffic based on precedence. Nonconforming packets are queued by the router running GTS and released at a rate that the network is configured to handle.
GTS is an ideal solution to use when a company knows an ISP is metering it on traffic above a CIR or policing its traffic at the other end of the point-to-point link. By controlling the traffic entering the ISP network, the company minimizes the effect of bursts being discarded or being charged premium fees for them. GTS is also useful in complex frame relay networks where port speeds might differ from one DLCI to another. If a spoke were to transmit at 512 kbps while a remote spoke was only configured with a 128 kbps access speed, the potential is high for data to be lost and subsequently retransmitted.
Some versions of GTS allow more than a static configuration of the token bucket. By understanding and interacting with frame relay BECN, GTS can dynamically control the amount of tokens in the bucket as well.