Re: Remaining Percent??

From: Narbik Kocharians (narbikk@gmail.com)
Date: Tue Aug 19 2008 - 19:22:30 ART


Let's say your bandwidth is 256K and you have NOT touched the max-reserve
command under the interface,
the following will be the difference:

With "bandwidth percent 50" command you will get:

100 percent of 256 is taken first which means 256K
Then 50 percent of 256K which is 128K is what you are assigning

With "bandwidth percent remaining 50" command you will get:

75 percent of 256 is calculated first which means 192K
Then 50 percent of 192K which is what you are assigning, which is 96

I hope this helps
On Tue, Aug 19, 2008 at 1:58 PM, Larry <cc13lab@gmail.com> wrote:

> Hey GS,
>
> I have a task that reads something like this:
>
> prioritize 1000k of telnet. ensure tftp gets 25% of the remaing bandwidth ,
> do not use bandwidth or bandwidth percent to accohmplish this and use the
> default max-reserved-bandwidth value.
>
> My solution below with output (which I am having a hard time saying it is
> 100% correct). Question is bandwidth remaining percent using the total
> interface bandwidth to calculate its value or the available bandwidth as
> shown in the show queueing output??? I have read and searched on this but
> the words - total/absolute/availabe are all being used interchangable
> leading me to doubts. Thank you for your help.
>
>
>
> !
> class-map match-all TELNET
> match protocol telnet
> class-map match-all TFTP
> match protocol tftp
> !
> !
> policy-map TEST
> class TFTP
> bandwidth remaining percent 25
> class TELNET
> priority 1000
>
>
> R3#show policy-map int e0/0
> Ethernet0/0
>
> Service-policy output: TEST
>
> Class-map: TFTP (match-all)
> 0 packets, 0 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: protocol tftp
> Queueing
> Output Queue: Conversation 265
> Bandwidth remaining 25 (%) Max Threshold 64 (packets)
> (pkts matched/bytes matched) 0/0
> (depth/total drops/no-buffer drops) 0/0/0
>
> Class-map: TELNET (match-all)
> 0 packets, 0 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: protocol telnet
> Queueing
> Strict Priority
> Output Queue: Conversation 264
> Bandwidth 1000 (kbps) Burst 25000 (Bytes)
> (pkts matched/bytes matched) 0/0
> (total drops/bytes drops) 0/0
>
> R3#show queueing interface e0/0
> Interface Ethernet0/0 queueing strategy: fair
> Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
> Queueing strategy: Class-based queueing
> Output queue: 0/1000/64/0 (size/max total/threshold/drops)
> Conversations 0/1/256 (active/max active/max total)
> Reserved Conversations 1/1 (allocated/max allocated)
> Available Bandwidth 6500 kilobits/sec
>
>
>
>
>
>
>
> -larry
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

-- 
Narbik Kocharians
CCSI#30832, CCIE# 12410 (R&S, SP, Security)
www.MicronicsTraining
www.Net-Workbooks.com
Sr. Technical Instructor

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



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