From: nowy1981 (freemaxis@gmail.com)
Date: Sun Mar 29 2009 - 08:07:17 ART
Hi GS
I have following MQC FRTS+LLQ+CBWFQ. I would shape PVC 102 to 15 Mbps + 
  give priority for EF up to 1 Mbps and guarantee  for example 10 Mbps 
for SMTP.
I see that I can apply it to the subinterface on three ways and the 
output of the show policy-map interface s1/0.102 is the same at each time.
Question: I need to confirm. Will it work in the same way?
class-map match-all SMTP
  match protocol smtp
class-map match-all VOICE
  match ip dscp ef
!
policy-map LLQ+CBWFQ
  class VOICE
   priority 1000
  class SMTP
   bandwidth 10000
policy-map FRTS
  class class-default
   shape average 15000000 150000
   shape adaptive 11000000
   shape fecn-adapt
   service-policy LLQ+CBWFQ
map-class frame-relay DLCI-102
  service-policy output FRTS
R1#show policy-map interface s1/0.102
  Serial1/0.102
   Service-policy output: FRTS
     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)
          15000000/15000000  37500  150000    150000    10        18750
         Adapt  Queue     Packets   Bytes     Packets   Bytes     Shaping
         Active Depth                         Delayed   Delayed   Active
         -      0         0         0         0         0         no
       Service-policy : LLQ+CBWFQ
         Class-map: VOICE (match-all)
           0 packets, 0 bytes
           5 minute offered rate 0 bps, drop rate 0 bps
           Match: ip dscp ef (46)
           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
         Class-map: SMTP (match-all)
           0 packets, 0 bytes
           5 minute offered rate 0 bps, drop rate 0 bps
           Match: protocol smtp
           Queueing
             Output Queue: Conversation 265
             Bandwidth 10000 (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
Example 1
interface Serial1/0.102 point-to-point
  ip address 10.0.0.1 255.255.255.0
  frame-relay interface-dlci 102
   class DLCI-102
Example 2
interface Serial1/0.102 point-to-point
  ip address 10.0.0.1 255.255.255.0
  service-policy output FRTS
  frame-relay interface-dlci 102
Exaxmple 3
interface Serial1/0.102 point-to-point
  ip address 10.0.0.1 255.255.255.0
  frame-relay interface-dlci 102
  service-policy output FRTS
Thanks
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Apr 06 2009 - 06:44:08 ART