Per Site QOS policy with Cisco IOS-XE

Wes Tribble westribble at gmail.com
Thu May 9 16:10:19 UTC 2013


Tyler,
Thank you very much.  I took off the bandwidth reservations on the child
shapers and I was able to apply to an 1841 series router in my lab.  Either
my TAC engineer is off base or there is some limitatin with the ASR that
does not exist for vanilla IOS.


QUOTE:
The earlier policy doesn't use bandwidth commands, hence, it doesn't
*subscribe* anything. The only thing it does is ensures that individual
sites do not exceed their shaped rate. You could add bandwidth statements
if you wanted to ensure a certain site always is guaranteed a certain
amount of bandwidth from the parent shaper. You can't oversubscribe with
the bandwidth command.



Here is a short snippet of the show policy-map int, i cut it off after two
sites for brevity.

Service-policy output: BigShaper
    Class-map: class-default (match-any)
      31694 packets, 4932119 bytes
      30 second offered rate 129000 bps, drop rate 0 bps
      Match: any
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 31723/4962574
      shape (average) cir 50000000, bc 1250000, be 1250000
      target shape rate 50000000
      Service-policy : PerSiteShaper
        Class-map: LittleRock (match-any)
          0 packets, 0 bytes
          30 second offered rate 0 bps, drop rate 0 bps
          Match: access-group name LittleRockSubnets
            0 packets, 0 bytes
            30 second rate 0 bps
          Queueing
          queue limit 64 packets
          (queue depth/total drops/no-buffer drops) 0/0/0
          (pkts output/bytes output) 0/0
          shape (average) cir 4608000, bc 115200, be 115200
          target shape rate 4608000
          Service-policy : Scheduler
            queue stats for all priority classes:

              queue limit 64 packets
              (queue depth/total drops/no-buffer drops) 0/0/0
              (pkts output/bytes output) 0/0
            Class-map: VOICE (match-any)
              0 packets, 0 bytes
              30 second offered rate 0 bps, drop rate 0 bps
              Match: ip dscp ef (46)
                0 packets, 0 bytes
                30 second rate 0 bps
              Match: ip dscp cs3 (24)
                0 packets, 0 bytes
                30 second rate 0 bps
              Match: ip dscp af31 (26)
                0 packets, 0 bytes
                30 second rate 0 bps
              Priority: 50% (28 kbps), burst bytes 1500, b/w exceed drops: 0

          QoS Set
            dscp ef
              Packets marked 0
            Class-map: AF41 (match-any)
              0 packets, 0 bytes
              30 second offered rate 0 bps, drop rate 0 bps
              Match: ip dscp af41 (34)
                0 packets, 0 bytes
                30 second rate 0 bps
              Match: access-group name eCustodyClass
                0 packets, 0 bytes
                30 second rate 0 bps
              Match: access-group name BloombergClass
                0 packets, 0 bytes
                30 second rate 0 bps
              Match: access-group name LiquidPointClass
                0 packets, 0 bytes
                30 second rate 0 bps
              Queueing
              queue limit 64 packets
              (queue depth/total drops/no-buffer drops) 0/0/0
              (pkts output/bytes output) 0/0
              bandwidth 25% (14 kbps)
          QoS Set
            dscp af41
              Packets marked 0

            Class-map: class-default (match-any)
              0 packets, 0 bytes
              30 second offered rate 0 bps, drop rate 0 bps
              Match: any
              Queueing
              queue limit 64 packets
              (queue depth/total drops/no-buffer drops/flowdrops) 0/0/0/0
              (pkts output/bytes output) 0/0
              Fair-queue: per-flow queue limit 16
          QoS Set
            dscp af21
              Packets marked 0
                Exp-weight-constant: 9 (1/512)
                Mean queue depth: 0 packets
                dscp     Transmitted     ECN     Random drop      Tail/Flow
drop Minimum Maximum Mark
                          pkts/bytes   marked  pkts/bytes
pkts/bytes    thresh  thresh  prob


        Class-map: Chicago (match-any)
          0 packets, 0 bytes
          30 second offered rate 0 bps, drop rate 0 bps
          Match: access-group name ChicagoSubnets
            0 packets, 0 bytes
            30 second rate 0 bps
          Queueing
          queue limit 64 packets
          (queue depth/total drops/no-buffer drops) 0/0/0
          (pkts output/bytes output) 0/0
          shape (average) cir 10000000, bc 250000, be 250000
          target shape rate 10000000

          Service-policy : Scheduler

            queue stats for all priority classes:

              queue limit 64 packets
              (queue depth/total drops/no-buffer drops) 0/0/0
              (pkts output/bytes output) 0/0

            Class-map: VOICE (match-any)
              0 packets, 0 bytes
              30 second offered rate 0 bps, drop rate 0 bps
              Match: ip dscp ef (46)
                0 packets, 0 bytes
                30 second rate 0 bps
              Match: ip dscp cs3 (24)
                0 packets, 0 bytes
                30 second rate 0 bps
              Match: ip dscp af31 (26)
                0 packets, 0 bytes
                30 second rate 0 bps
              Priority: 50% (28 kbps), burst bytes 1500, b/w exceed drops: 0

          QoS Set
            dscp ef
              Packets marked 0

            Class-map: AF41 (match-any)
              0 packets, 0 bytes
              30 second offered rate 0 bps, drop rate 0 bps
              Match: ip dscp af41 (34)
                0 packets, 0 bytes
                30 second rate 0 bps
              Match: access-group name eCustodyClass
                0 packets, 0 bytes
                30 second rate 0 bps
              Match: access-group name BloombergClass
                0 packets, 0 bytes
                30 second rate 0 bps
              Match: access-group name LiquidPointClass
                0 packets, 0 bytes
                30 second rate 0 bps
              Queueing
              queue limit 64 packets
              (queue depth/total drops/no-buffer drops) 0/0/0
              (pkts output/bytes output) 0/0
              bandwidth 25% (14 kbps)
          QoS Set
            dscp af41
              Packets marked 0

            Class-map: class-default (match-any)
              0 packets, 0 bytes
              30 second offered rate 0 bps, drop rate 0 bps
              Match: any
              Queueing
              queue limit 64 packets
              (queue depth/total drops/no-buffer drops/flowdrops) 0/0/0/0
              (pkts output/bytes output) 0/0
              Fair-queue: per-flow queue limit 16
          QoS Set
            dscp af21
              Packets marked 0
                Exp-weight-constant: 9 (1/512)
                Mean queue depth: 0 packets
                dscp     Transmitted     ECN     Random drop      Tail/Flow
drop Minimum Maximum Mark
                          pkts/bytes   marked  pkts/bytes
pkts/bytes    thresh  thresh  prob


More information about the NANOG mailing list