2600_2#sh run policy testit

Building configuration...

 

Current configuration : 292 bytes

!

 policy-map testit

  class testmanymatches

   police cir 8000 bc 1000

     conform-action transmit

     exceed-action drop

   set dscp ef

   bandwidth percent 50

  class howmany

   bandwidth percent 25

  class third

   bandwidth percent 1

  class class-default

   fair-queue 4096

!

end

 

2600_2#sh run class-map testmanymatches

Building configuration...

 

Current configuration : 189 bytes

!

class-map match-all testmanymatches

 match mpls experimental topmost 0  1  2  3  4  5  6  7

 match  dscp cs1  af43  ef

 match  dscp cs4

 match protocol dns

 match protocol bgp

!

end

 

2600_2#sh run class-map howmany

Building configuration...

 

Current configuration : 38 bytes

!

class-map match-all howmany

!

end

 

2600_2#sh run class-map third

Building configuration...

 

Current configuration : 36 bytes

!

class-map match-all third

!

end

 

2600_2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

2600_2(config)#policy-map testit

2600_2(config-pmap)#class

2600_2(config-pmap)#class third

2600_2(config-pmap-c)#no bandwidth percent 1

2600_2(config-pmap-c)#bandwidth percent 2

 I/f FastEthernet0/0 class third requested bandwidth 2%, available only 0%

 

2600_2(config-pmap-c)#

2600_2(config-pmap-c)#bandwidth percent 1

2600_2(config-pmap-c)#

2600_2(config-pmap-c)#do sh run in f0/0

Building configuration...

 

Current configuration : 183 bytes

!

interface FastEthernet0/0

 bandwidth 64

 ip address 123.123.123.1 255.255.255.0

 service-policy output testit

 load-interval 570

 duplex auto

 speed auto

 ntp broadcast client

end

 

2600_2(config-pmap-c)#

2600_2(config-pmap-c)#^Z

2600_2#sh

*Mar  1 13:07:16.792: %SYS-5-CONFIG_I: Configured from console by console

 

 

2600_2#sh policy-map interface f0/0

 FastEthernet0/0

 

  Service-policy output: testit

 

    Class-map: testmanymatches (match-all)

      0 packets, 0 bytes

      9 minutes, 30 seconds offered rate 0 bps, drop rate 0 bps

      Match: mpls experimental topmost 0  1  2  3  4  5  6  7

      Match:  dscp cs1  af43  ef

      Match:  dscp cs4

      Match: protocol dns

      Match: protocol bgp

      police:

          cir 8000 bps, bc 1000 bytes

        conformed 0 packets, 0 bytes; actions:

          transmit

        exceeded 0 packets, 0 bytes; actions:

          drop

        conformed 0 bps, exceed 0 bps

      QoS Set

        dscp ef

          Packets marked 0

      Queueing

        Output Queue: Conversation 4105

        Bandwidth 50 (%)

        Bandwidth 32 (kbps) Max Threshold 64 (packets)

        (pkts matched/bytes matched) 0/0

        (depth/total drops/no-buffer drops) 0/0/0

 

    Class-map: howmany (match-all)

      0 packets, 0 bytes

      9 minutes, 30 seconds offered rate 0 bps, drop rate 0 bps

      Match: none

      Queueing

        Output Queue: Conversation 4106

        Bandwidth 25 (%)

        Bandwidth 16 (kbps) Max Threshold 64 (packets)

        (pkts matched/bytes matched) 0/0

        (depth/total drops/no-buffer drops) 0/0/0

 

    Class-map: third (match-all)

      0 packets, 0 bytes

      9 minutes, 30 seconds offered rate 0 bps, drop rate 0 bps

      Match: none

      Queueing

        Output Queue: Conversation 4107

        Bandwidth 1 (%)

        Bandwidth 0 (kbps) Max Threshold 64 (packets)

        (pkts matched/bytes matched) 0/0

        (depth/total drops/no-buffer drops) 0/0/0

 

    Class-map: class-default (match-any)

      4410 packets, 264600 bytes

      9 minutes, 30 seconds offered rate 0 bps, drop rate 0 bps

      Match: any

      Queueing

        Flow Based Fair Queueing

        Maximum Number of Hashed Queues 4096

        (total queued/total drops/no-buffer drops) 0/0/0

2600_2#

 

 

 

 

From: prakash patel [mailto:[email protected]] 
Sent: Thursday, October 01, 2009 2:14 PM
To: [email protected]; [email protected]
Subject: RE: [OSL | CCIE_RS] CB bandwidth

 

No .
 
Please paste the configuration here including policy-map and its classes and
under interface
 

  _____  

From: [email protected]
To: [email protected]; [email protected]
Subject: RE: [OSL | CCIE_RS] CB bandwidth
Date: Thu, 1 Oct 2009 13:58:11 -0500

Not sure I understand what you mean by that.  Are you suggesting a bug ?
..or ?

 

Aaron

 

 

From: prakash patel [mailto:[email protected]] 
Sent: Thursday, October 01, 2009 11:57 AM
To: [email protected]; [email protected]
Subject: RE: [OSL | CCIE_RS] CB bandwidth

 

Must be something wrong in cumulative addition.

  _____  

From: [email protected]
To: [email protected]
Date: Thu, 1 Oct 2009 11:48:13 -0500
Subject: [OSL | CCIE_RS] CB bandwidth

Ya'll know anything magical about why this works with "1" even though it
says there is 0% available, but does not work with "2" ?

 

2600_2(config-pmap-c)#bandwidth perc

2600_2(config-pmap-c)#bandwidth percent 2

 I/f FastEthernet0/0 class third requested bandwidth 2%, available only 0%

 

2600_2(config-pmap-c)#

2600_2(config-pmap-c)#bandwidth percent 1

2600_2(config-pmap-c)#

 

 

aaron

 

  _____  

Lauren found her dream laptop. Find the
<http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290>  PC that's
right for you.

 

  _____  

Microsoft brings you a new way to search the web. Try Bing
<http://www.bing.com?form=MFEHPG&publ=WLHMTAG&crea=TEXT_MFEHPG_Core_tagline_
try%20bing_1x1> T now

_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to