Campus QoS Design Simp Policer (

Click here to load reader

  • date post

    27-May-2018
  • Category

    Documents

  • view

    231
  • download

    3

Embed Size (px)

Transcript of Campus QoS Design Simp Policer (

  • Campus QoS DesignSimplified

    Tim Szigeti

    BRKCRS-2501

  • Campus QoS Design Considerations and Best Practices

    Cisco Catalyst 2960-X QoS Design

    Cisco Catalyst 3650/3850 QoS Design

    Cisco Catalyst 4500 QoS Design

    Cisco Catalyst 6500/6800 QoS Design

    Cisco Nexus 7000/7700 QoS Design

    Campus WLAN QoS Design Considerations and Best Practices

    Cisco IOS XE WLC AVC/QoS Design

    Cisco AireOS WLC AVC/QoS Design

    Summary and References

    Agenda

  • Campus QoS Design Considerations

    and Best Practices

  • What Do You Consider First?

    BRKRST-2056: The QoS Paradigm Shift

    http://tinyurl.com/ps8yzug

    http://www.google.ca/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0CAcQjRw&url=http://www.123plans.co.uk/services/&ei=qqBoVdaiMKXksATt7ICIDg&bvm=bv.94455598,d.cWc&psig=AFQjCNGIzU3LAETaAgHZ3hfzuO5hkOAuDw&ust=1433006605900115http://www.google.ca/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0CAcQjRw&url=http://www.123plans.co.uk/services/&ei=qqBoVdaiMKXksATt7ICIDg&bvm=bv.94455598,d.cWc&psig=AFQjCNGIzU3LAETaAgHZ3hfzuO5hkOAuDw&ust=1433006605900115http://tinyurl.com/ps8yzug

  • Start by Defining Your QoS StrategyArticulate Your Business Intent, Relevant Applications and End-to-End Strategy

    BRKRST-2056: The QoS Paradigm Shift

  • The Case for Campus QoS

    The primary role of QoS in campus networks is to manage packet loss

    In campus networks, it takes only a few milliseconds of congestion to cause drops

    Rich media applications are extremely sensitive to packet drops

  • 10

    80

    lin

    es o

    f H

    orizo

    nta

    l R

    eso

    lution

    1920 lines of Vertical Resolution (Widescreen Aspect Ratio is 16:9)

    1080p60

    1080 x 1920 lines =

    2,073,600 pixels per frame

    x 24 bits of color per pixel

    x 60 frames per second

    = 2,985,984,000 bps

    or 3 Gbps Uncompressed!

    Cisco (H264/H.265) codecs transmit 3-5 Mbps per 1080p60 video stream

    which represents over 99.8% compression (~ 1000:1)

    Packet loss is proportionally magnified by compression ratios

    Users can notice a single packet lost in 10,000

    Making HD Video One Hundred Times More Sensitive to Packet Loss than VoIP!

    Why Is Video So Sensitive to Packet Loss?

    http://www.google.ca/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0CAcQjRw&url=http://www.eurosport.com/formula-1/sebastian-vettel-beats-lewis-hamilton-in-monaco-fp3_sto4748082/story.shtml&ei=KahoVdnGGZLHsQTR8oCICw&bvm=bv.94455598,d.cWc&psig=AFQjCNFptHJYw3AH7H5UE_l4BduJmzPXzg&ust=1433008506023537http://www.google.ca/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0CAcQjRw&url=http://www.eurosport.com/formula-1/sebastian-vettel-beats-lewis-hamilton-in-monaco-fp3_sto4748082/story.shtml&ei=KahoVdnGGZLHsQTR8oCICw&bvm=bv.94455598,d.cWc&psig=AFQjCNFptHJYw3AH7H5UE_l4BduJmzPXzg&ust=1433008506023537

  • Audio

    Samples

    20 msec

    Voice Packets

    Bytes

    200

    600

    1000

    1400

    Time

    200

    600

    1000

    1400

    33 msec

    Video Packets

    Video

    Frame

    Video

    Frame

    Video

    Frame

    VoIP vs. HD VideoAt the Packet Level

  • 0

    20

    40

    60

    80

    100

    120

    140

    10

    50

    90

    13

    0

    17

    0

    21

    0

    25

    0

    29

    0

    33

    0

    37

    0

    41

    0

    45

    0

    49

    0

    53

    0

    57

    0

    61

    0

    65

    0

    69

    0

    73

    0

    77

    0

    81

    0

    85

    0

    89

    0

    93

    0

    97

    0

    KB

    yte

    sP

    er

    ms Gbps Line Rate

    Campus QoS Design ConsiderationsHow Long Can Queue-Buffers Accommodate Line-Rate Bursts?

    GE Linecard Example

    Total Per-Port Buffer: 5.4 MB

    Total Per-Queue Buffer*: 1.35 MB

    Gbps Line Rate: 1 Gbps = 125 MB/s

    or 125 KB/ms

    Total Per-Queue Buffering Capacity: 10.8 ms

    *Assuming (4) equal-sized queues

    ms

    GE Linecard Example (WS-X6148)

    Begin dropping at 11 ms

    but overall utilization is only 1%!

    1 second

  • KB

    yte

    sP

    er

    ms 10 Gbps Line Rate

    Campus QoS Design ConsiderationsHow Long Can Queue-Buffers Accommodate Line-Rate Bursts?

    10-GE Linecard Example

    Total Per-Port Buffer: 90 MB

    Total Per-Queue Buffer*: 11.25 MB

    Gbps Line Rate: 10 Gbps = 1.25 GB/s

    or 1250 KB/ms

    Total Per-Queue Buffering Capacity: 9.0 ms

    *Assuming (8) equal-sized queues

    ms

    0

    200

    400

    600

    800

    1000

    1200

    1400

    10

    50

    90

    13

    0

    17

    0

    21

    0

    25

    0

    29

    0

    33

    0

    37

    0

    41

    0

    45

    0

    49

    0

    53

    0

    57

    0

    61

    0

    65

    0

    69

    0

    73

    0

    77

    0

    81

    0

    85

    0

    89

    0

    93

    0

    97

    0

    10 GE Linecard Example (WS-X6908)

    1 second

    Begin dropping at 9 ms

    but overall utilization is only 1%!

  • Oversubscription in the Campus GE Link

    10GE Link

    40GE Link

  • Oversubscription in the Campus

    x 11

    GE Link

    10GE Link

    40GE Link

  • Oversubscription in the Campus GE Link

    10GE Link

    40GE Link

  • Oversubscription in the Campus GE Link

    10GE Link

    40GE Link

  • Know Your Tools

    Catalyst and Nexus switch hardware

    Software and Syntax

    Global Default QoS Settings

    Trust States and Conditional Trust

    Logical vs. Physical Interface QoS

    Ingress and Egress Queuing Models

  • Hardware VariesAmerican Version

    2015 Cisco Live San Diego

  • Hardware VariesItalian Version

    2015 Cisco Live Milan

    http://www.google.ca/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0CAcQjRw&url=http://alfalicio.us/2011-09-02-alfa-romeo-suv-built-by-jeep/&ei=xbZoVe6FOarhsAT5s4Eo&bvm=bv.94455598,d.cWc&psig=AFQjCNEHAauDm_MEIYZYwJHtCZ9GCndd4A&ust=1433012283926996http://www.google.ca/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0CAcQjRw&url=http://alfalicio.us/2011-09-02-alfa-romeo-suv-built-by-jeep/&ei=xbZoVe6FOarhsAT5s4Eo&bvm=bv.94455598,d.cWc&psig=AFQjCNEHAauDm_MEIYZYwJHtCZ9GCndd4A&ust=1433012283926996

  • Hardware VariesGerman Version

    2016 Cisco Live Berlin

    http://www.google.ca/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0CAcQjRw&url=http://www.caricos.com/cars/m/mercedes-benz/2013_mercedes-benz_glk-class/1920x1080/39.html&ei=HrhoVbD6N9CHsQT9toKQCg&v6u=https://s-v6exp1-ds.metric.gstatic.com/gen_204?ip%3D161.44.210.156%26ts%3D1432926231084675%26auth%3Dud3twe3rf5inyjibv5tkrpm6elwoyigs%26rndm%3D0.13096753046755666&v6s=2&v6t=14006&bvm=bv.94455598,d.cWc&psig=AFQjCNGoPxgo3xvIUPd7zJcHbVbpmDvabg&ust=1433012631019517http://www.google.ca/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0CAcQjRw&url=http://www.caricos.com/cars/m/mercedes-benz/2013_mercedes-benz_glk-class/1920x1080/39.html&ei=HrhoVbD6N9CHsQT9toKQCg&v6u=https://s-v6exp1-ds.metric.gstatic.com/gen_204?ip%3D161.44.210.156%26ts%3D1432926231084675%26auth%3Dud3twe3rf5inyjibv5tkrpm6elwoyigs%26rndm%3D0.13096753046755666&v6s=2&v6t=14006&bvm=bv.94455598,d.cWc&psig=AFQjCNGoPxgo3xvIUPd7zJcHbVbpmDvabg&ust=1433012631019517

  • Hardware VariesCanadian Version

    2015 Cisco Connect Toronto

  • Software and Syntax Variations Catalyst 2960-X / 3560 / 3750 are the last platforms to use Multilayer Switch QoS (MLS QoS)

    QoS is disabled by default and must be globally enabled with mls qos command

    Once enabled, all ports are set to an untrusted port-state

    Catalyst 3650/3850 and 4500 use IOS Modular QoS Command Line Interface (MQC)

    QoS is enabled by default

    All ports are trusted at layer 2 and layer 3 by default

    Catalyst 6500/6800 use Cisco Common Classification Policy Language (C3PL) QoS

    QoS is enabled by default (Sup2T) Disabled by default (Sup720)

    All ports are trusted at layer 2 and layer 3 by default

    C3PL presents queuing policies similar to MQC, but as a defined type of policy

    Nexus 7000/7700 use NX-OS QoS

    QoS is enabled by default

    All ports are trusted at layer 2 and layer 3 by default

    NX-OS presents queuing policies similar to MQC, but as a defined type and with default class-map names

  • Untrusted / User-Administered Devicesno mls qos trust

    Trusted Centrally-Administered Devicesmls qos trust dscp

    Centrally-Administered &

    Conditionally-Trusted Devicesmls qos trust device

    cisco-phone

    cts

    ip-camera

    media-player

    Trust Boundary

    Trust Boundaries

    Trust Boundary

    Trust Boundary

    The trust boundary is the edge where

    Layer 2 (CoS / UP) and/or

    Layer 3 (DSCP)

    markings are accepted or rejected

  • Policy Enforcement Points (PEPs)

    The Policy Enforcement Point (PEP) is the edge where classification and m