Successfully reported this slideshow.

Qos Demo

1,491 views

Published on

This explaing basics concepts of QOS with some elite graphics, which helps to understand the difference between various comcepts of QOS

  • Be the first to comment

  • Be the first to like this

Qos Demo

  1. 1. Quality of Service (QOS)<br />Prepared by-:<br />Pratik Mavani<br />CCNA, CCNP<br />CCIE Theory 350-001<br />
  2. 2. Introduction to Quality of Service<br /><ul><li> A Brief Historical Perspective
  3. 3. Understanding QOS Requirements
  4. 4. Methods of Deploying QOS
  5. 5. The QOS Toolbelt</li></li></ul><li>History of QOS<br />QOS for Security<br />Auto QOS<br />MPLS /VPN<br />QOS<br />(Per – Hop)<br />Complexity<br />Differentiated<br />Services<br />(RSVP)<br />Integrated <br />Services<br />Best <br />effort<br />1992<br />1994<br />1996<br />2000<br />1998<br />2004<br />
  6. 6. Understanding QOS requirement<br /><ul><li> Data
  7. 7. Citrix
  8. 8. FTP
  9. 9. Voice
  10. 10. Smooth
  11. 11. Not Dangerous
  12. 12. Delay / Drop Sensitive
  13. 13. Video
  14. 14. Bursty
  15. 15. Greedy
  16. 16. Delay / Drop Sensitive</li></li></ul><li>Evils in the Network<br /><ul><li> Lack of Bandwidth
  17. 17. Packet loss
  18. 18. Delay
  19. 19. ITU defined < 150 ms for voice and video
  20. 20. It’s a normal PSTN standard. Voice even works fine till 200 ms
  21. 21. Jitter
  22. 22. Difference in the delay</li></li></ul><li>Methods of Deploying QOS<br /><ul><li>Command line Interface</li></ul>(per interface)<br /><ul><li>Modular QOS CLI</li></ul>(policy based)<br /><ul><li>Auto QOS
  23. 23. QOS Policy Manager</li></li></ul><li>QOS Tool belt : Classification and Marking<br /><ul><li>Classification involves identifying and grouping different types of traffic
  24. 24. Marking involves adding a tag or color to the traffic so that it can identified elsewhere in the network</li></li></ul><li>QOS Tool belt : Policing and Shaping<br /><ul><li>Policing drops or marks packet when limit is reached
  25. 25. Shaping Queues packets when limit is reached</li></li></ul><li>QOS Tool belt : Congestion Avoidance<br /><ul><li>FIFO First In First Out + Tail Drop</li></ul>Default<br /><ul><li>Random Early Detection</li></ul>Not supported by Cisco<br /><ul><li>Weighted Random Early Detection</li></li></ul><li>QOS Tool belt : Queuing<br />Re- Arranging Packets in the queue<br />
  26. 26. QOS Tool belt : Compression and LFI<br /><ul><li>Compression
  27. 27. Link Fragmentation and Interleaving</li></ul>Voice Packet<br />Fragments larger packet so priority traffic won’t be delayed<br />Data packet<br />
  28. 28. The Modular QOS CLI : Building Blocks<br /><ul><li>Understanding Cisco’s new MQC standard
  29. 29. Configuring Class Maps
  30. 30. Configuring Policy-Maps
  31. 31. Applying the Service Policy</li></li></ul><li>QOS with MQC<br />Class Map 1<br />Class Map 2<br />Class Map 3<br />Policy Map 1<br />Policy Map 2<br />S0<br />E0<br />One Policy map per interface per direction<br />
  32. 32. Classification and Marking<br /><ul><li> Classification v/s Marking
  33. 33. How can we classify ?
  34. 34. NBAR</li></li></ul><li>Classification v/s Marking<br /><ul><li> Classification-: Inspecting one or more aspects of packet to see what its carrying.
  35. 35. Marking-: Writing Information on the packet to identify classification decision</li></li></ul><li>Inside the Packet<br />COS<br />TOS/DSCP<br />RTP<br />RTCP<br />
  36. 36. Creating a class map<br />
  37. 37. Classifying traffic on various criteria<br />Classifying traffic with NBAR – Wowww…<br />
  38. 38. Downloading a PDLM<br />
  39. 39. Updating PDLM on a router<br />
  40. 40. Marking<br /><ul><li>Is Marking Necessary ?
  41. 41. Where should marking be done ?
  42. 42. Types of Marking
  43. 43. Layer 2
  44. 44. Layer 3</li></li></ul><li>Where should be marking be done ?<br />Trust Boundary<br />Trust Boundary<br />Trust Boundary<br />
  45. 45. Types of Marking<br /><ul><li>Layer 2
  46. 46. Typically stripped at Router Hops
  47. 47. Examples
  48. 48. COS
  49. 49. Frame Relay DE Bit
  50. 50. ATM CLP Bit
  51. 51. MPLS EXP Bit
  52. 52. Layer 3
  53. 53. Passes through Routers
  54. 54. Examples
  55. 55. IP Precedence
  56. 56. DSCP</li></li></ul><li>How to Mark<br /><ul><li> Class Map
  57. 57. Match Traffic Statements
  58. 58. Policy Map
  59. 59. Match the above class map
  60. 60. Mark the traffic with the help of “set command”
  61. 61. Apply the policy on interface level</li></li></ul><li>IP Precedence & COS Markings<br />7 - Reserved<br />Reserved routing and synchronization protocols<br />6 – Reserved<br />5 - Voice<br />4 –Video Conf.<br />3– Call Signaling<br />RTCP<br />2 – High Priority Data<br />1 – Medium Priority Data<br />0 – Best Effort Data<br />
  62. 62. The DSCP World<br />1 Byte<br />IP Prec<br />Values (0-7)<br />00000<br />000<br />00000000<br />DSCP<br />00<br />00<br />000<br />Major<br />Minor<br />ECN<br />
  63. 63. Standard DSCP Values<br />DSCP<br />00<br />00<br />000<br />Values for backward compatibility with IP Prec<br />Major<br />Minor<br />ECN<br />5 - Voice<br />EF<br />4 –Video Conf.<br />AF4<br />AF3<br />3– Call Signaling<br />2 – High Priority Data<br />AF2<br />1 – Medium Priority Data<br />AF1<br />AF<br />AF<br />AF<br />2<br />1<br />1<br />1<br />3<br />1<br />0 – Default<br />0 – Best Effort Data<br />AF<br />AF<br />AF<br />1<br />2<br />3<br />2<br />2<br />2<br />AF<br />AF<br />3<br />3<br />2<br />3<br />AF<br />1<br />3<br />Also Known as Drop Preference<br /> (The higher the value higher the drop preference)<br />AF<br />AF<br />4<br />2<br />4<br />AF<br />1<br />4<br />3<br />
  64. 64. LAB <br />Create a Class MAP<br /><ul><li> Match the Voice Traffic
  65. 65. Match the SMTP Traffic and set the high priority with DSCP value
  66. 66. Match the traffic from host 172.16.1.2 or WWW and set the low priority with DSCP value</li></ul>Create a policy map<br /><ul><li> Mark Voice traffic with highest priority and reserve 20% of bandwidth
  67. 67. Mark SMTP with high priority with DSCP Value and reserve 20% of bandwidth
  68. 68. Mark WEB traffic with low priority and reserve 10% of bandwidth</li></ul>Apply the policy map on Outgoing interface of Router<br />Verify the policy<br />
  69. 69. Show ipnbar protocol-discovery stats<br />

×