Understanding Traffic Policing, Traffic Shaping, and Interface-based Rate Limiting
A network needs to transmit various types of service traffic for different types of users. If rates of service traffic are not limited on the network, the network will be congested when many users continuously generate burst traffic. To provide better service for more users with limited network resources, rates of service traffic must be limited.
Traffic policing and traffic shaping control traffic rates and resource usage by monitoring the rates of incoming traffic entering a network. The incoming traffic must be measured first so that measures can be taken to limit the traffic rate based on the measurement result. Generally, the token bucket mechanism is used to measure traffic.