Re: policing and wfq with mqc

From: Bit Gossip (bit.gossip@chello.nl)
Date: Sun Jan 28 2007 - 17:20:28 ART


I know why: I forgot: 'frame-relay traffic-shaping' under s4/0!

Tnx.

On Sun, 2007-01-28 at 21:07 +0100, Bit Gossip wrote:
> None shows the policy-map counter in the second setup: no counters per
> class
>
> Thanks,
> Luca.
>
> r2#show frame-relay pvc 221
>
> PVC Statistics for interface Serial4/0 (Frame Relay DTE)
>
> DLCI = 221, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE =
> Serial4/0.221
>
> input pkts 6988 output pkts 8069 in bytes 569861
> out bytes 2186176 dropped pkts 1 in pkts dropped
> 1
> out pkts dropped 0 out bytes dropped 0
> in FECN pkts 0 in BECN pkts 0 out FECN pkts
> 0
> out BECN pkts 0 in DE pkts 0 out DE pkts
> 0
> out bcast pkts 6930 out bcast bytes 567024
> 5 minute input rate 0 bits/sec, 0 packets/sec
> 5 minute output rate 0 bits/sec, 0 packets/sec
> pvc create time 08:17:05, last time pvc status changed 08:15:55
> r2#show policy-ma
> r2#show policy
> r2#show policy-ma
> r2#show policy-map int
> r2#show policy-map interface s4/0
>
> r2#
>
>
> On Sun, 2007-01-28 at 12:51 -0500, Edison Ortiz wrote:
> > There are 2 ways:
> >
> > 1) show frame pvc 221
> >
> > 2) show policy-map interface
> >
> > On 1/28/07, Bit Gossip <bit.gossip@chello.nl> wrote:
> > My task requires to configure a certain service-policy to do
> > policing
> > and wfq between r2 and r1 which are connected via a fr pvc
> > attached to a
> > serial interface s4/0.221.
> > I have found 2 approches; are they both correct?
> > For the second one I dont know how to show and monitor the
> > service-policy!
> > BTW: it is not possible to attach the service-policy to the
> > sub-if
> > because wfq is not supported for sub-if
> > Thanks,
> > Luca.
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > - attach the policy to s4/0
> >
> > interface Serial4/0
> > service-policy output S6
> > ...
> >
> >
> > in this case I can easily show the effect and monitor the
> > counters:
> >
> >
> > r2#show policy-map int s4/0
> >
> > Serial4/0
> >
> > Service-policy output: S6
> >
> > Class-map: S6-2 (match-all)
> > 0 packets, 0 bytes
> > 30 second offered rate 0 bps, drop rate 0 bps
> > Match: access-group name S6-2
> > police:
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > - attach the policy to dlci 221
> >
> > interface Serial4/0
> > bandwidth 115200
> > no ip address
> > encapsulation frame-relay
> > load-interval 30
> > serial restart-delay 0
> > no frame-relay inverse-arp
> > !
> > interface Serial4/0.221 point-to-point
> > bandwidth 64
> > ip address 10.1.122.2 255.255.255.0
> > frame-relay interface-dlci 221
> > class S6
> >
> > map-class frame-relay S6
> > service-policy output S6
> >
> >
> > But in this case I dont know how to monitor it?
> > r2# show policy-map interface s4/0
> >
> > r2#
> >
> > _______________________________________________________________________
> > 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 : Thu Feb 08 2007 - 23:46:57 ART