Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Difference bet. Rate-Limit & Traffic-Shape Commands

Can anybody explain me the exact difference between the below mentioned commands and which when should be used where in configuration.

1) rate-limit input 64000 8000 8000 conform-action transmit exceed-action drop

2)traffic-shape rate 64000 8000 8000 1000

Hall of Fame Super Bronze

Re: Difference bet. Rate-Limit & Traffic-Shape Commands

Both policing and shaping mechanisms use the traffic descriptor for a packet-indicated by the classification of the packet-to ensure adherence and service.

Policers and shapers usually identify traffic descriptor violations in an identical manner. They usually differ, however, in the way they respond to violations, for example:

•A policer typically drops traffic. (For example, the CAR rate-limiting policer will either drop the packet or rewrite its IP precedence, resetting the type of service bits in the packet header.)

•A shaper typically delays excess traffic using a buffer, or queuing mechanism, to hold packets and shape the flow when the data rate of the source is higher than expected. (For example, GTS and Class-Based Traffic Shaping use a weighted fair queue to delay packets in order to shape the flow, and FRTS uses either a priority queue, a custom queue, or a FIFO queue for the same, depending on how you configure it.)


Re: Difference bet. Rate-Limit & Traffic-Shape Commands

In addition Edison's explanation, lets take a instance:

Suppose a FR network where the customer has contracted a CIR with ISP let it be 64Kbps. The physical link may be 1Mbps pipe. Thus customer may pump traffic at a much higher rate than CIR. This may congest the ISP network, thus ISP apllies a policer to drop customer's traffic above CIR.

Now what a customer does is to avoid the dropping of traffic at ISP, he would slower down the traffic towards ISP so that it doesnt exceed the contacted rate.

Link provided by Edison is really nice, you may refer it.

CreatePlease to create content