05-13-2017 01:10 PM - edited 03-05-2019 08:31 AM
Hi all,
I am hoping someone could help me with QoS. A past employee configured the QoS shown below and while I think it's correct (not a QoS guru) I have another person telling me otherwise. We are running 7 VRF's through the WAN provider and I see where the policy-maps are marking the DSCP values into classes and I see the traffic is getting shaped with the Parent-Shaper policy map which is assigned to my physical WAN interface but I am being told that it is not shaping the traffic and that I could be shaping within those policies.
Is the setup not shaping all the traffic? What are the benefits of shaping traffic within the policy maps?
policy-map WAN-EDGE
class VOICE
priority percent 35
class INTERACTIVE-VIDEO
bandwidth remaining percent 15
class NETWORK-CONTROL
bandwidth remaining percent 3
class INTERNETWORK-CONTROL
class CRITICAL-DATA
bandwidth remaining percent 30
fair-queue
class STANDARD-DATA
bandwidth remaining percent 10
class SCAVENGER
bandwidth remaining percent 1
random-detect dscp-based
random-detect dscp 18 50 64
random-detect dscp 20 45 64
random-detect dscp 22 40 64
class class-default
bandwidth remaining percent 6
random-detect
fair-queue
queue-limit 128 packets
!
policy-map PARENT-SHAPER
class class-default
shape average percent 100
service-policy WAN-EDGE
ISR4331#sh policy-map PARENT-SHAPER
Policy Map PARENT-SHAPER
Class class-default
Average Rate Traffic Shaping
cir 100%
service-policy WAN-EDGE
ISR4331#
ISR4331#sh policy-map interface GI0/0/1
GigabitEthernet0/0/1
Service-policy output: PARENT-SHAPER
Class-map: class-default (match-any)
449303795 packets, 136348481305 bytes
30 second offered rate 14000 bps, drop rate 0000 bps
Match: any
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/288059/0
(pkts output/bytes output) 448943917/136065165966
shape (average) cir 10000000, bc 100000, be 100000
target shape rate 10000000
Service-policy : WAN-EDGE
queue stats for all priority classes:
Queueing
queue limit 512 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 6017416/875751818
Class-map: VOICE (match-all)
6017416 packets, 875751818 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: dscp ef (46)
Priority: 35% (3500 kbps), burst bytes 87500, b/w exceed drops: 0
Class-map: INTERACTIVE-VIDEO (match-any)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: dscp cs5 (40)
Match: dscp cs4 (32)
Match: dscp af41 (34) af42 (36) af43 (38)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth remaining 15%
Class-map: NETWORK-CONTROL (match-any)
18314480 packets, 3192062026 bytes
30 second offered rate 1000 bps, drop rate 0000 bps
Match: access-group name NETWORK-CONTROL-CS6
Match: dscp cs6 (48)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 18314480/3192062026
bandwidth remaining 3%
Class-map: INTERNETWORK-CONTROL (match-any)
8 packets, 560 bytes
30 second offered rate 0000 bps
Match: access-group name INTERNETWORK-CONTROL-CS7
Match: dscp cs7 (56)
Class-map: CRITICAL-DATA (match-any)
63417155 packets, 14272153592 bytes
30 second offered rate 1000 bps, drop rate 0000 bps
Match: access-group name CRITICAL-DATA-AF3
Match: dscp af31 (26) af32 (28) af33 (30)
Match: dscp cs3 (24)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops/flowdrops) 0/11608/0/11608
(pkts output/bytes output) 63405546/14255039816
bandwidth remaining 30%
Fair-queue: per-flow queue limit 16 packets
Class-map: STANDARD-DATA (match-any)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: access-group name STANDARD-DATA-AF2
Match: dscp af21 (18) af22 (20) af23 (22)
Match: dscp cs2 (16)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth remaining 10%
Class-map: SCAVENGER (match-any)
15721168 packets, 1439354633 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: access-group name SCAVENGER-AF1
Match: dscp af11 (10)
Match: dscp cs1 (8)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/418/0
(pkts output/bytes output) 15720750/1439059071
bandwidth remaining 1%
Exp-weight-constant: 4 (1/16)
Mean queue depth: 0 packets
dscp Transmitted Random drop Tail drop Minimum Maximum Mark
pkts/bytes pkts/bytes pkts/bytes thresh thresh prob
af11 15720750/1439059071 3/3608 415/291954 28 32 1/10
af21 0/0 0/0 0/0 50 64 1/10
af22 0/0 0/0 0/0 45 64 1/10
af23 0/0 0/0 0/0 40 64 1/10
Class-map: class-default (match-any)
345833568 packets, 116569158676 bytes
30 second offered rate 9000 bps, drop rate 0000 bps
Match: any
Queueing
queue limit 128 packets
(queue depth/total drops/no-buffer drops/flowdrops) 0/276033/0/253533
(pkts output/bytes output) 345485725/116303253235
bandwidth remaining 6%
Exp-weight-constant: 4 (1/16)
Mean queue depth: 0 packets
class Transmitted Random drop Tail/Flow drop Minimum Maximum Mark
pkts/bytes pkts/bytes pkts/bytes thresh thresh prob
0 345485717/116303252675 2164/592036 20336/2051736 32 64 1/10
1 0/0 0/0 0/0 36 64 1/10
2 0/0 0/0 0/0 40 64 1/10
3 0/0 0/0 0/0 44 64 1/10
4 0/0 0/0 0/0 48 64 1/10
5 0/0 0/0 0/0 52 64 1/10
6 0/0 0/0 0/0 56 64 1/10
7 8/560 0/0 0/0 60 64 1/10
Fair-queue: per-flow queue limit 32 packets
ISR4331#
05-15-2017 04:20 AM
Please post the classifying ACL's for class maps as well.
Thanks
Hitesh
05-15-2017 06:24 AM
Without further details about your WAN topology and/or QoS needs, cannot really say if you need shaping at all, or if you do, how best to utilize.
From looking at the QoS policy, I wonder whether your past employee really understood QoS. As whether it's correct, that depends on your QoS needs.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide