{"id":888,"date":"2018-02-16T10:24:44","date_gmt":"2018-02-16T09:24:44","guid":{"rendered":"http:\/\/www.quisted.net\/?p=888"},"modified":"2018-02-16T10:24:44","modified_gmt":"2018-02-16T09:24:44","slug":"quality-of-service-ii-deployment-design","status":"publish","type":"post","link":"https:\/\/www.quisted.net\/index.php\/2018\/02\/16\/quality-of-service-ii-deployment-design\/","title":{"rendered":"Quality of Service II ( Deployment, Design )"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quisted.net\/index.php\/2018\/02\/16\/quality-of-service-ii-deployment-design\/#Quality_of_Service_Deployment\" >Quality of Service Deployment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quisted.net\/index.php\/2018\/02\/16\/quality-of-service-ii-deployment-design\/#Quality_of_Service_Design\" >Quality of Service Design<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Quality_of_Service_Deployment\"><\/span><span style=\"color: #993366;\"><strong>Quality of Service Deployment<\/strong><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>Choosing the correct WAN Type.<\/strong><\/p>\n<ul>\n<li>WAN Providers, you get what you pay for.\n<ul>\n<li>Tried and True providers<\/li>\n<\/ul>\n<\/li>\n<li>Don&#8217;t design a sinking ship, bandwidth.<\/li>\n<li>Determine bursting capabilities.<\/li>\n<li>QoS classes \/ Policies support.<\/li>\n<li>Multicast support.<\/li>\n<\/ul>\n<p><strong>Modular QoS CLI ( MQC )<\/strong><\/p>\n<ul>\n<li>Class-map<\/li>\n<\/ul>\n<pre>R1(config)#class-map ccdp\nClass-map configuration commands:\n  description  Class-Map description\n  exit         Exit from class-map configuration mode\n  match        classification criteria\n  no           Negate or set default values of a command\n\nR1(config-cmap)#mat\nR1(config-cmap)#match ?\n  access-group         Access group\n  any                  Any packets\n  atm                  Match on ATM info\n  class-map            Class map\n  cos                  IEEE 802.1Q\/ISL class of service\/user priority values\n  destination-address  Destination address\n  discard-class        Discard behavior identifier\n  dscp                 Match DSCP in IPv4 and IPv6 packets\n  fr-de                Match on Frame-relay DE bit\n  fr-dlci              Match on fr-dlci\n  group-object         Match object-group\n  input-interface      Select an input interface to match\n  ip                   IP specific values\n  mpls                 Multi Protocol Label Switching specific values\n  not                  Negate this match result\n  packet               Layer 3 Packet length\n  precedence           Match Precedence in IPv4 and IPv6 packets\n  protocol             Protocol\n  qos-group            Qos-group\n  source-address       Source address\n  vlan                 VLANs to match\n<\/pre>\n<p><!--more--><\/p>\n<ul>\n<li>Policy-map<\/li>\n<\/ul>\n<pre>R1(config-pmap)#class ccdp\nR1(config-pmap-c)#?\nPolicy-map class configuration commands:\n  bandwidth        Bandwidth\n  exit             Exit from QoS class action configuration mode\n  fair-queue       Enable Flow-based Fair Queuing in this Class\n  netflow-sampler  NetFlow action\n  no               Negate or set default values of a command\n  police           Police\n  priority         Strict Scheduling Priority for this Class\n  queue-limit      Queue Max Threshold for Tail Drop\n  random-detect    Enable Random Early Detection as drop policy\n  service-policy   Configure QoS Service Policy\n  set              Set QoS values\n  shape            Traffic Shaping\n\n<\/pre>\n<ul>\n<li>Service-policy<\/li>\n<\/ul>\n<p><strong>AutoQoS Templates<\/strong><\/p>\n<ul>\n<li>Automaticlly deploy ( QoS templates based on percentages )\n<ul>\n<li><em>R3(config-if)#auto discovery<\/em><\/li>\n<li><em>R3(config-if)#auto qos voip [trust]<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre><span style=\"color: #ff0000;\"><strong>#CLASS-MAPS ARE CREATED<\/strong><\/span>\nclass-map match-any AutoQoS-VoIP-Remark\n match ip dscp ef\n match ip dscp cs3\n match ip dscp af31\nclass-map match-any AutoQoS-VoIP-Control-UnTrust\n match access-group name AutoQoS-VoIP-Control\nclass-map match-any AutoQoS-VoIP-RTP-UnTrust\n match protocol rtp audio\n match access-group name AutoQoS-VoIP-RTCP\n!\n!\n<span style=\"color: #ff0000;\"><strong>#POLICY-MAPS ARE CREATED<\/strong><\/span>\npolicy-map AutoQoS-Policy-UnTrust\n class AutoQoS-VoIP-RTP-UnTrust\n priority percent 70\n set dscp ef\n class AutoQoS-VoIP-Control-UnTrust\n bandwidth percent 5\n set dscp af31\n class AutoQoS-VoIP-Remark\n set dscp default\n class class-default\n fair-queue\n\n<span style=\"color: #ff0000;\"><strong>#ACL ARE CREATED<\/strong><\/span>\nip access-list extended AutoQoS-VoIP-Control\npermit tcp any any eq 1720\npermit tcp any any range 11000 11999\npermit udp any any eq 2427\npermit tcp any any eq 2428\npermit tcp any any range 2000 2002\npermit udp any any eq 1719\npermit udp any any eq 5060\nip access-list extended AutoQoS-VoIP-RTCP\npermit udp any any range 16384 32767<\/pre>\n<ul>\n<li>\u00a0Requires <strong>CEF, <\/strong>no existing service-poilcy commands.<\/li>\n<li>Employs &#8220;Best of&#8221; practices; trust ( markings ) or no trust ( NBAR ).<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Quality_of_Service_Design\"><\/span><span style=\"color: #993366;\"><strong>Quality of Service Design<\/strong><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Where to implement QoS?\n<ul>\n<li>Any point where congestion potential exists.\n<ul>\n<li><span style=\"color: #ff0000;\"><em>Aggregation points.<\/em><\/span><\/li>\n<li><span style=\"color: #ff0000;\"><em>Rate Transitions.<\/em><\/span><\/li>\n<\/ul>\n<\/li>\n<li>Don&#8217;t soley trust on your monitoring.<\/li>\n<li>Police your Agressive Tendancies.<\/li>\n<\/ul>\n<\/li>\n<li>RFC4594 defines how to classify using the DiffServ Bits in the header\n<ul>\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc4594\" target=\"_blank\" rel=\"noopener\">https:\/\/tools.ietf.org\/html\/rfc4594<\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>Cisco&#8217;s translation: 4-, 8-, and 12-class strategies<\/strong><\/li>\n<\/ul>\n<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/226618.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-904\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/226618.jpg\" alt=\"\" width=\"523\" height=\"323\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/226618.jpg 523w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/226618-300x185.jpg 300w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/a><\/p>\n<p>(c) cisco<\/p>\n<ul>\n<li>Start simple (4), grow as needed<\/li>\n<\/ul>\n<pre>    ------------------------------------------------------------------\n   |   Service     |  DSCP   |    DSCP     |       Application        |\n   |  Class Name   |  Name   |    Value    |        Examples          |\n   |===============+=========+=============+==========================|\n   |Network Control|  CS6    |   110000    | Network routing          |\n   |---------------+---------+-------------+--------------------------|\n   | Telephony     |   EF    |   101110    | IP Telephony bearer      |\n   |---------------+---------+-------------+--------------------------|\n   |  Signaling    |  CS5    |   101000    | IP Telephony signaling   |\n   |---------------+---------+-------------+--------------------------|\n   | Multimedia    |AF41,AF42|100010,100100|   H.323\/V2 video         |\n   | Conferencing  |  AF43   |   100110    |  conferencing (adaptive) |\n   |---------------+---------+-------------+--------------------------|\n   |  Real-Time    |  CS4    |   100000    | Video conferencing and   |\n   |  Interactive  |         |             | Interactive gaming       |\n   |---------------+---------+-------------+--------------------------|\n   | Multimedia    |AF31,AF32|011010,011100| Streaming video and      |\n   | Streaming     |  AF33   |   011110    |   audio on demand        |\n   |---------------+---------+-------------+--------------------------|\n   |Broadcast Video|  CS3    |   011000    |Broadcast TV &amp; live events|\n   |---------------+---------+-------------+--------------------------|\n   | Low-Latency   |AF21,AF22|010010,010100|Client\/server transactions|\n   |   Data        |  AF23   |   010110    | Web-based ordering       |\n   |---------------+---------+-------------+--------------------------|\n   |     OAM       |  CS2    |   010000    |         OAM&amp;P            |\n   |---------------+---------+-------------+--------------------------|\n   |High-Throughput|AF11,AF12|001010,001100|  Store and forward       |\n   |    Data       |  AF13   |   001110    |     applications         |\n   |---------------+---------+-------------+--------------------------|\n   |    Standard   | DF (CS0)|   000000    | Undifferentiated         |\n   |               |         |             | applications             |\n   |---------------+---------+-------------+--------------------------|\n   | Low-Priority  |  CS1    |   001000    | Any flow that has no BW  |\n   |     Data      |         |             | assurance                |\n    ------------------------------------------------------------------\n\n                Figure 3. DSCP to Service Class Mapping&lt;\n<\/pre>\n<p><span style=\"color: #993366;\"><strong>How to monitor QoS?<\/strong><\/span><\/p>\n<ul>\n<li>IP SLA.<\/li>\n<li>Verify carrier serivce agreements.<\/li>\n<li>Prove your network performance.<\/li>\n<li>Identify service issues before they&#8217;re an issue.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Quality of Service Deployment Choosing the correct WAN Type. WAN Providers, you get what you pay for. Tried and True providers Don&#8217;t design a sinking ship, bandwidth. Determine bursting capabilities. QoS classes \/ Policies support. Multicast support. Modular QoS CLI ( MQC ) Class-map R1(config)#class-map ccdp Class-map configuration commands: description Class-Map description exit Exit from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[2,7],"tags":[66],"class_list":["post-888","post","type-post","status-publish","format-standard","hentry","category-arc","category-qos","tag-mqc"],"_links":{"self":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts\/888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/comments?post=888"}],"version-history":[{"count":0,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts\/888\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/media?parent=888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/categories?post=888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/tags?post=888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}