Shaping/Queuing Confusion

From: Ahsan Mohiuddin (ahsan.mohiuddin@gmail.com)
Date: Tue Aug 05 2008 - 06:09:42 ART


Dear Experts,

I am confused what would be the solution to below requirements. Please help!

Define two classes of service besides the default.

Class Fa0/0 matches all the traffic coming from input interface fa0/0.

Class IP-Prec matches all the traffic with an IP Precedence of 4.

Class Fa0/0 is ensured a bandwidth of 128 Kbps and the output is shaped to
256 Kbps.

Class IP-Prec is ensured a bandwidth of 384 Kbps. But if enough bandwidth
is available, the class can obtain the throughput up to the peak of 512 Kbps

I tried the following configuration but when I apply it to interface, I get
*"GTS : Can be enabled only at the first level"*

Class Map match-all Fa0/0 (id 1)
   Match input-interface FastEthernet0/0

 Class Map match-all IP-Prec (id 2)
   Match ip precedence 4

Policy Map Fa0/0
    Class Fa0/0
      Traffic Shaping
         Average Rate Traffic Shaping
         CIR 256000 (bps) Max. Buffers Limit 1000 (Packets)
  Policy Map IP-Prec
    Class IP-Prec
      Traffic Shaping
         Peak Rate Traffic Shaping
         CIR 512000 (bps) Max. Buffers Limit 1000 (Packets)
  Policy Map SHAPE
    Class Fa0/0
      Bandwidth 128 (kbps) Max Threshold 64 (packets)
      service-policy Fa0/0
    Class IP-Prec
      Bandwidth 384 (kbps) Max Threshold 64 (packets)
      service-policy IP-Prec

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Sep 01 2008 - 08:15:29 ART