Cisco Cisco Packet Data Gateway (PDG) Guia Do Administrador

Página de 308
Traffic Policing and Shaping   
▀  Overview 
 
 
▄  Cisco ASR 5x00 Home Agent Administration Guide 
298 
   
Overview 
This section describes the traffic policing and shaping feature for individual subscriber. This feature is comprises of two 
functions: 
 
Traffic Policing 
 
Traffic Shaping 
Traffic Policing 
Traffic policing enables the configuring and enforcing of bandwidth limitations on individual subscribers and/or APN of 
a particular traffic class in 3GPP/3GPP2 service. 
Bandwidth enforcement is configured and enforced independently on the downlink and the uplink directions. 
A Token Bucket Algorithm (a modified trTCM) [RFC2698] is used to implement the Traffic-Policing feature. The 
algorithm used measures the following criteria when determining how to mark a packet: 
 
Committed Data Rate (CDR): The guaranteed rate (in bits per second) at which packets can be 
transmitted/received for the subscriber during the sampling interval. 
 
Peak Data Rate (PDR): The maximum rate (in bits per second) that subscriber packets can be 
transmitted/received for the subscriber during the sampling interval. 
 
Burst-size: The maximum number of bytes that can be transmitted/received for the subscriber during the 
sampling interval for both committed (CBS) and peak (PBS) rate conditions. This represents the maximum 
number of tokens that can be placed in the subscriber’s “bucket”. Note that the committed burst size (CBS) 
equals the peak burst size (PBS) for each subscriber. 
The system can be configured to take any of the following actions on packets that are determined to be in excess or in 
violation: 
 
Drop: The offending packet is discarded. 
 
Transmit: The offending packet is passed. 
 
Lower the IP Precedence: The packet’s ToS bit is set to “0”, thus downgrading it to Best Effort, prior to 
passing the packet. Note that if the packet’s ToS bit was already set to “0”, this action is equivalent to 
“Transmit”. 
Traffic Shaping 
Traffic Shaping is a rate limiting method similar to the Traffic Policing, but provides a buffer facility for packets 
exceeded the configured limit. Once the packet exceeds the data-rate, the packet queued inside the buffer to be delivered 
at a later time. 
The bandwidth enforcement can be done in the downlink and the uplink direction independently. If there is no more 
buffer space available for subscriber data system can be configured to either drop the packets or kept for the next 
scheduled traffic session. 
Important:
  Traffic Shaping is not supported on the GGSN, P-GW, or SAEGW.