Traffic Shapping

Unanswered Question
a-vazquez Fri, 09/26/2008 - 11:00
User Badges:
  • Silver, 250 points or more

Traffic policing propagates bursts. When the traffic rate reaches the configured maximum rate, excess traffic is dropped (or remarked). The result is an output rate that appears as a saw-tooth with crests and troughs. In contrast to policing, traffic shaping retains excess packets in a queue and then schedules the excess for later transmission over increments of time. The result of traffic shaping is a smoothed packet output rate.

http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a00800a3a25.shtml#policingvsshaping


Scott Cannon Mon, 10/13/2008 - 19:21
User Badges:

Hi Mohammad,


The link given to you almost would've done the job except it didnt explain adding the policy to the interface.


I've indicated the steps and necesary config for you below.


First you need to identify the traffic to police:


ip access-list extended SOME_TRAFFIC

permit ip x.x.x.x x.x.x.x x.x.x.x x.x.x.x


class-map TRAFFIC_TO_SHAPE

match list SOME_TRAFFIC


Next define your policy:


policy-map SHAPE_TRAFFIC

class TRAFFIC_TO_SHAPE

shape average 4000000


Apply your policy:


config-if)#service-policy output SHAPE_TRAFFIC


HTH

Regards

Scott

Actions

This Discussion