Re: CBWFQ on Framerelay with subinterfaces

From: Chris Lewis (chrlewiscsco@gmail.com)
Date: Wed Dec 07 2005 - 16:33:19 GMT-3


My approach would be to shape the sub-interface to a given level first, then
apply CBWFQ under that, identifying any specific traffic after the shaped
rate has been set. You can shape to 100% if you don't know the bandwidth
allocation as follows:

policy-map parent
class class-default
shape average percent 100
service-policy child

policy-map child
class class1
bandwidth percent 20

int serial 1.1
service-policy-out parent

If you apply this configu, you get the following output which shows the
overall rate for the sub-interface and 20% of the bandwidth guaranteed for
the traffic you want.

  Service-policy output: parent

    Class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any
      Traffic Shaping
           Target/Average Byte Sustain Excess Interval Increment
             Rate Limit bits/int bits/int (ms) (bytes)
              100 (%) 0 (ms) 0 (ms)
          1544000/1544000 9650 38600 38600 25 4825

        Adapt Queue Packets Bytes Packets Bytes Shaping
        Active Depth Delayed Delayed Active
        - 0 0 0 0 0 no

      Service-policy : child

        Class-map: class1 (match-all)
          0 packets, 0 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: access-group name FORS1.1
          Queueing
            Output Queue: Conversation 73
            Bandwidth 20 (%)
            Bandwidth 308 (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)
          0 packets, 0 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: any

Does this help?

Chris
On 12/7/05, san <san.study@gmail.com> wrote:
>
> Chris,
>
> Can you check the below is correct ? How to determine the shaping
> average limit. I plan to do sh inter & get the bandwidth value from
> there. (not sure its correct).
>
> Ip access-list ex FORS1.1
> Permit ip any 172.16.1.0 0.0.0.255
>
>
> Ip access-list ex FORS1.2
> Permit ip any 192.168.1.0 0.0.0.255
>
>
> Class-map class1
> Match access-group name FORS1.1
>
> Class-map class2
> Match access-group name FORS1.2
>
>
> Policy-map subint1
> Class class1
> shape fullbw-defined-here
> service-policy policy_child1
>
> Policy-map subint2
> Class class2
> shape fullbw-defined-here
> service-policy policy_child2
>
> policy-map policy_child1
> class class-default
> bandwidth percent 20
>
> policy-map policy_child2
> class class-default
> bandwidth percent 40
>
>
> int s1.1
> service-policy out subint1
>
> int s1.2
> service-policy out subint2
>
>
> With Rgds
> SAN
>
> On 12/7/05, Chris Lewis <chrlewiscsco@gmail.com> wrote:
> > Hi Anwar.
> >
> > To configure bandwidth policies on sub-interfaces, you first need to
> apply a
> > shape parent policy to the sub-interface, then a child policy with
> bandwidth
> > commands. This policy can then be directly applied to the sub-interface
> > without the need for frame relay traffic shaping or a map-clas fame
> relay
> > configuration.
> >
> > Try it out and if you need more help post your confiigs.
> >
> > Cheers
> >
> > Chris
> >
> >
> > On 12/7/05, Anwar Chalamannil <anwar.chalamannil@gmail.com> wrote:
> > >
> > > Hi, Group,
> > >
> > > I want to allocate bandwidth for two networks ( 172.16.1.0/24 ,
> > > 192.168.1.0/24) that is connected to 2 sub interfaces (S1.1 and S1.2)
> > > of Frame-relay
> > > circuit .lets say for s1.1(172.16.1.0/24 ) 20 % and for s1.2 (
> > > 192.168.1.0/24) 40%
> > >
> > >
> > >
> > > Does my configuration work ?
> > >
> > >
> > >
> > > Ip access-list ex FORS1.1
> > >
> > > Permit ip any 172.16.1.0 0.0.0.255
> > >
> > >
> > >
> > > Ip access-list ex FORS1.2
> > >
> > > Permit ip any 192.168.1.0 0.0.0.255
> > >
> > >
> > >
> > > Class-map class1
> > >
> > > Match access-group name FORS1.1
> > >
> > >
> > >
> > > Class-map class2
> > >
> > > Match access-group name FORS1.2
> > >
> > >
> > >
> > >
> > >
> > > Policy-map test
> > >
> > > Class class1
> > >
> > > Bandwidth percent 20
> > >
> > > Class class2
> > >
> > > Bandwidth percent 40
> > >
> > >
> > >
> > >
> > >
> > > int s1
> > >
> > > service-policy out test
> > >
> > >
> > >
> > >
> > >
> > > Or do I have to configure map class and apply policy in it ?
> > >
> > >
> > >
> > >
> > >
> > > Thanks
> > >
> > > Anwar
> > >
> > >
> _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon Jan 09 2006 - 07:07:50 GMT-3