Traffic Shaping on Cisco IOS

Hello Azm

I believe that it would be a good exercise to attempt to configure such a situation in a simulator (GNS3 or VIRL).

Just a note, if Gi0/0 is connected to the ISP with 100Mbps bandwidth, then the easiest way to limit that interface to 100Mbps is to enter the command speed 100 on the interface. However, because this lesson has to do with configuring traffic shaping, we’ll assume that this cannot be done. Let’s say the bandwidth to the ISP is 200 Mbps, so we don’t have this option of an “easy” solution.

Here are some hints to get you started in attempting to configure what you described in your post:

  1. Using the information that Rene has provided in this exercise, you can first limit the total average bits per interval, sustained.
  2. Secondly, you can differentiate between traffic (https, telnet and others) using port numbers by creating additional access lists that refer to these specific ports.
  3. Thirdly, for voice traffic and the like, you can implement QoS mechanisms including the use of “priority percent” to aid you.

Have a go and let us know your results. We can continue the conversation as you go…

I hope this has been helpful!

Laz