Traffic Policing
Traffic policing discards excess traffic to limit the traffic within a specified range and to protect network resources as well as the enterprise benefits.
Implementation of Traffic Policing
As shown in Figure 3-3, traffic policing involves the following components:
Meter: measures the network traffic using the token bucket mechanism and sends the measurement result to the marker.
Marker: colors packets green, yellow, or red based on the measurement result received from the meter.
Action: performs actions based on packet coloring results received from the marker. The following actions are defined:
Pass: forwards the packets that meet network requirements.
Remark + pass: changes the local priorities of packets and forwards them.
Discard: drops the packets that do not meet network requirements.
By default, green and yellow packets are forwarded, and red packets are discarded.
If the rate of a type of traffic exceeds the threshold, the device reduces the packet priority and then forwards the packets or directly discards the packets based on traffic policing configuration. By default, the packets are discarded.