policing and wfq with mqc

From: Bit Gossip (bit.gossip@chello.nl)
Date: Sun Jan 28 2007 - 14:44:36 ART


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#



This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:57 ART