FR CBWFQ using map-class and service-policy

From: Rohan Grover (rohang@cisco.com)
Date: Wed Dec 01 2004 - 08:06:28 GMT-3


Hi,

I have following configuration

=====================
 class-map match-all CLASSB
  match access-group 101
 class-map match-all CLASSA
  match access-group 102
!
!
 policy-map QOS
  class CLASSA
   bandwidth 16
  class CLASSB
   bandwidth 32
  class class-default
   bandwidth 16
   queue-limit 40
!

interface Serial2/0
 ip address 150.50.100.4 255.255.255.0
 service-policy output QOS
 encapsulation frame-relay
 frame-relay map ip 150.50.100.1 102 broadcast
 frame-relay map ip 150.50.100.2 102 broadcast
 frame-relay map ip 150.50.100.3 102 broadcast
 frame-relay map ip 150.50.100.4 102
 no frame-relay inverse-arp
!
map-class frame-relay ROHAN
 service-policy output QOS
access-list 101 permit tcp any any eq ftp
access-list 101 permit tcp any any eq ftp-data
access-list 101 permit icmp any any
access-list 101 permit tcp any any eq www
access-list 102 permit ip any 172.16.136.0 0.0.0.255
============================

With 'service-policy' directly applied to the fr interface I can see the o/p

=========
R4#sh policy-map interface s2/0

 Serial2/0

  Service-policy output: QOS

    Class-map: CLASSA (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: access-group 102
      Queueing
        Output Queue: Conversation 265
        Bandwidth 16 (kbps) Max Threshold 64 (packets)
        (pkts matched/bytes matched) 0/0
        (depth/total drops/no-buffer drops) 0/0/0

    Class-map: CLASSB (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: access-group 101
      Queueing
        Output Queue: Conversation 266
        Bandwidth 32 (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)
      14 packets, 182 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any
      Queueing
        Output Queue: Conversation 267
        Bandwidth 16 (kbps) Max Threshold 40 (packets)
        (pkts matched/bytes matched) 0/0
        (depth/total drops/no-buffer drops) 0/0/0
R4#

========

But when I apply 'frame-relay class ROHAN' to the fr interface the o/p of the above command shows nothing. Am I doing something
wrong? I thought this is how MQC works with FR.

Also service-policy applied to a FR main int, is it propagated to the subints. I find that it is not so. Is that correct behavior?

Thanks
Rohan



This archive was generated by hypermail 2.1.4 : Mon Jan 03 2005 - 10:31:23 GMT-3