Cisco Cisco ASR 5700

Page of 8994
  APN Configuration Mode Commands 
qos rate-limit  ▀   
 
Command Line Interface Reference, StarOS Release 17  ▄  
 
   
1435 
Important:
  If the exceed/violate action is set to “lower-ip-precedence”, this command may override the 
configuration of the 
ip qos-dscp
 command in the GGSN Service Configuration mode for packets from the GGSN to 
the SGSN. In addition, the GGSN service 
ip qos-dscp
 command configuration can override the APN setting for 
packets from the GGSN to the Internet. Therefore, it is recommended that this command not be used in conjunction with 
this action. 
The command can be entered multiple times to specify different combinations of direction and class. If this 
command is not configured at all, the GGSN does not perform traffic policing or QoS negotiation with the 
SGSN. (It accepts all of the SGSN-provided values for the PDP context.) 
To calculate the burst size dynamically, an optional keyword 
auto-readjust
 [ 
duration
 
dur
 ] is provided 
with the 
burst-size
 keyword. By default, the burst size is fixed if defined in bytes with this command. 
Regardless of the rate being enforced, burst-size is fixed as set by the 
burst-size
 
bytes
 parameter. 
The 
auto-readjust
 [ 
duration
 
dur
 ] keyword enables variable burst size depending on the rate being 
enforced. The system calculates burst size using a per token bucket algorithm calculation as T=B/R, where T 
is the time interval, B is the burst size and R is the Rate being enforced. It also provides different burst size 
for Peak and Committed data rate-limiting. 
If the 
auto-readjust
 keyword is not used, a fixed burst size must be defined which will be applicable for 
peak data rate and committed data rate regardless of the rate being enforced. 
If the 
auto-readjust
 keyword is provided without specifying the duration, a default duration of 1 second 
will be used for burst size calculation. 
Example
 
The following command lowers the IP precedence when the committed-data-rate and the peak-data-rate are 
violated in uplink direction: 
qos rate-limit direction uplink violate-action lower-ip-precedence