4-4
Figure 4-3
Schematic diagram for GTS
Token
bucket
Packets dropped
Packet
classification
Packets to be sent
through this interface
Packets sent
Tokens are put into the
bucket at the set rate
Queue
For example, in
Figure 4-4
, Switch A sends packets to Switch B. Switch B performs traffic policing on
packets from Switch A and drops packets exceeding the limit.
Figure 4-4
GTS application
You can perform traffic shaping for the packets on the outgoing interface of Switch A to avoid
unnecessary packet loss. Packets exceeding the limit are cached in Switch A. Once resources are
released, traffic shaping takes out the cached packets and sends them out. In this way, all the traffic
sent to Switch B conforms to the traffic specification defined in Switch B.
Traffic Policing, GTS and Line Rate Configuration
Complete the following tasks to configure traffic policing, GTS, and line rate:
Task
Remarks
Configure an ACL
Configuring Traffic Policing
Apply CAR policies to the specified interface
Configuring queue-based GTS
Configure GTS on interfaces
Configuring GTS for all traffic
Configure GTS on interfaces