5-4Figure 5-2 Schematic diagram for GTSTokenbucketPackets droppedPacketclassificationPackets to be sentthrough this interfacePackets sentTokens are put into thebucket at the set rateQueueFor example, in Figure 5-3, Switch A sends packets to Switch B. Switch B performs traffic policing onpackets from Switch A and drops packets exceeding the limit.Figure 5-3 GTS applicationYou can perform traffic shaping for the packets on the outgoing interface of Switch A to avoidunnecessary packet loss. Packets exceeding the limit are cached in Switch A. Once resources arereleased, traffic shaping takes out the cached packets and sends them out. In this way, all the trafficsent to Switch B conforms to the traffic specification defined in Switch B.Line RateLine rate supports rate-limiting traffic in the outbound direction.The line rate of a physical interface specifies the maximum rate for forwarding packets (includingcritical packets).Line rate also uses token buckets for traffic control. With line rate configured on an interface, allpackets to be sent through the interface are firstly handled by the token bucket at line rate. If there areenough tokens in the token bucket, packets can be forwarded; otherwise, packets are put into QoSqueues for congestion management. In this way, the traffic passing the physical interface is controlled.