Remaining Percent??

From: Larry (cc13lab@gmail.com)
Date: Tue Aug 19 2008 - 17:58:04 ART


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



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