Fwd: MQC GTS based policy

From: ccie99999 <ccie99999_at_gmail.com>
Date: Thu, 21 Mar 2013 16:02:48 +0000

trying to re-send this.. if someone can help. Thanks.

---------- Forwarded message ----------
From: ccie99999 <ccie99999_at_gmail.com>
Date: Wed, Mar 6, 2013 at 4:57 AM
Subject: MQC GTS based policy
To: Cisco certification <ccielab_at_groupstudy.com>

Hi guys,

in my lab I've to shape to an average rate of 256k with bc and be of 12800
and 6400.
Router policy should match pvc 305.

I think there are 2 ways to do same thing here.. can you confirm the end
result is the same ? (at least looks so from my show policy-map inter
command)

sh policy-map

*option n.1*

class-map DLCI_305
 match fr-dlci 305

policy-map POLICY_FR_OUT
 class DLCI_305
   shape average 256000 12800 6400

int se1/0
 service-policy output POLICY_FR_OUT

*option n.2*

policy-map ALL
 class class-default
  shape average 256000 12800 6400

 map-class frame-relay DLCI_305
  service-policy output ALL

int se1/0
 frame-relay interface-dlci 305
  class DLCI_305

*VERIFICATION option 1*

Rack1R3#show policy-map inter se1/0

 Serial1/0

  Service-policy output: POLICY_FR_OUT

    Class-map: DLCI_305 (match-all)
      3 packets, 384 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: fr-dlci 305
      Traffic Shaping
           Target/Average Byte Sustain Excess Interval Increment
             Rate Limit bits/int bits/int (ms) (bytes)
           256000/256000 2400 12800 6400 50 1600

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

    Class-map: class-default (match-any)
      1 packets, 14 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any

*VERIFICATION option 2*

  Rack1R3#show policy-map inter se1/0
 Serial1/0: DLCI 305 -

  Service-policy output: ALL

    Class-map: class-default (match-any)
      1 packets, 84 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)
           256000/256000 2400 12800 6400 50 1600

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

thanks in advance!

-- 
@ccie99999
https://twitter.com/ccie99999
-- 
@ccie99999
https://twitter.com/ccie99999
Blogs and organic groups at http://www.ccie.net
Received on Thu Mar 21 2013 - 16:02:48 ART

This archive was generated by hypermail 2.2.0 : Wed Apr 03 2013 - 19:06:19 ART