Traffic policing is typically used to limit the traffic entering or leaving a network in order to prevent traffic bursts. If the traffic volume of a service is too large, a device configured with traffic policing can take corresponding measures, such as dropping packets related to the service or limiting the packet priority.
This section describes how to configure traffic policing based on the complex traffic classification (CTC), which is also called the CTC-based traffic policing.
Traffic shaping is similar to that of traffic policing. Traffic shaping buffers packets that need to be dropped by traffic policing by means of buffer and token bucket.
This section provides detailed examples for configuring traffic policing, traffic shaping, and interface rate limit in terms of application scenarios and configuration commands.