Muzammil,
Your understanding is correct.  When I paste your configs into my routers I
do get the expected warning message.
R1(config-pmap-c)#int f0/1
R1(config-if)#bandwidth 128
R1(config-if)# no ip address
R1(config-if)# duplex auto
R1(config-if)# speed auto
R1(config-if)# service-policy output CBWFQ
I/f FastEthernet0/1 class HTTP requested bandwidth 10%, available only 0%
And the policy is not applied.
  Perhaps there is something else in your config or IOS version that is
affecting this (though I do not know what it could be).  
R1#sh ver
Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9-M), Version
12.4(21)
Hope that Helps,
-Bob Sinclair
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Muzammil Malick
> Sent: Sunday, June 13, 2010 6:24 AM
> To: Cisco certification
> Subject: Bandwidth Percent
> 
> Hi All
> 
> I created the following configuration and expected IOS to warn me that
> I had
> exceeded the reservable bandwidth but it did not warn me:
> 
> 
> interface FastEthernet1/0
>  bandwidth 128
>  no ip address
>  duplex auto
>  speed auto
>  service-policy output CBWFQ
> 
> class-map match-all TELNET
>  match protocol telnet
> class-map match-all HTTP
>  match protocol http
> class-map match-all FTP
>  match protocol ftp
> class-map match-all VOICE
>  match protocol rtp audio
> !
> policy-map CBWFQ
>  class VOICE
>     bandwidth percent 25
>  class TELNET
>     bandwidth percent 25
>  class FTP
>     bandwidth percent 25
>  class HTTP
>     bandwidth percent 10
> 
> 25% of the interface bandwidth gives 32Kb. Therefore after making 3
> reservations of 25% I had already achieved 96Kb.
> I have left the max-reserved-bandwidth to default of 75%. therefore I
> should
> not be able to reserve more than 96Kb.
> However I was able to reserve an additional 10% for HTTP traffic.
> 
> Is it on the administrator to ensure that the bandwidth percent values
> do
> not exceed the max-res bandwidth?
> What would happen now in my situation where I have more reservations
> than
> reservable bandwidth?
> 
> Service-policy output: CBWFQ
> 
>     Class-map: VOICE (match-all)
>       0 packets, 0 bytes
>       5 minute offered rate 0 bps, drop rate 0 bps
>       Match: protocol rtp audio
>       Queueing
>       queue limit 64 packets
>       (queue depth/total drops/no-buffer drops) 0/0/0
>       (pkts output/bytes output) 0/0
>       bandwidth 25% (32 kbps)
> 
>     Class-map: TELNET (match-all)
>       0 packets, 0 bytes
>       5 minute offered rate 0 bps, drop rate 0 bps
>       Match: protocol telnet
>       Queueing
>       queue limit 64 packets
>       (queue depth/total drops/no-buffer drops) 0/0/0
>       (pkts output/bytes output) 0/0
>       bandwidth 25% (32 kbps)
> 
>     Class-map: FTP (match-all)
>       0 packets, 0 bytes
>       5 minute offered rate 0 bps, drop rate 0 bps
>       Match: protocol ftp
>       Queueing
>       queue limit 64 packets
>       (queue depth/total drops/no-buffer drops) 0/0/0
>       (pkts output/bytes output) 0/0
>       bandwidth 25% (32 kbps)
> 
>     Class-map: HTTP (match-all)
>       0 packets, 0 bytes
>       5 minute offered rate 0 bps, drop rate 0 bps
>       Match: protocol http
>       Queueing
>       queue limit 64 packets
>       (queue depth/total drops/no-buffer drops) 0/0/0
>       (pkts output/bytes output) 0/0
>       bandwidth 10% (12 kbps)
> 
> Thanks
> 
> 
> Blogs and organic groups at http://www.ccie.net
> 
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
> 
> 
> 
> 
> 
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.829 / Virus Database: 271.1.1/2934 - Release Date:
> 06/13/10 02:35:00
Blogs and organic groups at http://www.ccie.net
Received on Sun Jun 13 2010 - 10:56:43 ART
This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 09:11:37 ART