Advertisement
mightyroot

Настройки QoS 3560/3750

Sep 24th, 2011
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.94 KB | None | 0 0
  1. Настройки QoS
  2.  
  3. VoIP: RTP =5 Cos
  4. VoIP: Signaling = 3 Cos
  5. Video: DSCP = 32 (4 Cos)
  6.  
  7. Cisco 3560/3750:
  8.  
  9. В глобал конфиге:
  10. mls qos
  11. На порту, откуда идет мультикаст:
  12. auto qos voip trust
  13. После этого автоматически создадутся очереди для srr-queue.
  14.  
  15. На портах откуда идет мультикаст:
  16. mls qos trust cos
  17.  
  18. После внесения изменений должно получиться:
  19.  
  20. # sh mls qos
  21. QoS is enabled
  22. QoS ip packet dscp rewrite is enabled
  23.  
  24. Для просмотра статистики по интерфейсам так же можно воспользоваться командами:
  25. sh mls qos interface statistics
  26. sh int summary
  27.  
  28.  
  29.  
  30. mls qos map cos-dscp 0 8 16 24 32 46 48 56
  31. mls qos srr-queue input bandwidth 80 20
  32. mls qos srr-queue input threshold 1 8 16
  33. mls qos srr-queue input threshold 2 34 66
  34. mls qos srr-queue input buffers 67 33
  35. mls qos srr-queue input cos-map queue 1 threshold 2 1
  36. mls qos srr-queue input cos-map queue 1 threshold 3 0
  37. mls qos srr-queue input cos-map queue 2 threshold 1 2
  38. mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7
  39. mls qos srr-queue input cos-map queue 2 threshold 3 3 5
  40. mls qos srr-queue input dscp-map queue 1 threshold 2 9 10 11 12 13 14 15
  41. mls qos srr-queue input dscp-map queue 1 threshold 3 0 1 2 3 4 5 6 7
  42. mls qos srr-queue input dscp-map queue 1 threshold 3 8 32
  43. mls qos srr-queue input dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
  44. mls qos srr-queue input dscp-map queue 2 threshold 2 33 34 35 36 37 38 39 48
  45. mls qos srr-queue input dscp-map queue 2 threshold 2 49 50 51 52 53 54 55 56
  46. mls qos srr-queue input dscp-map queue 2 threshold 2 57 58 59 60 61 62 63
  47. mls qos srr-queue input dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
  48. mls qos srr-queue input dscp-map queue 2 threshold 3 40 41 42 43 44 45 46 47
  49. mls qos srr-queue output cos-map queue 1 threshold 3 5
  50. mls qos srr-queue output cos-map queue 2 threshold 3 3 6 7
  51. mls qos srr-queue output cos-map queue 3 threshold 3 2 4
  52. mls qos srr-queue output cos-map queue 4 threshold 2 1
  53. mls qos srr-queue output cos-map queue 4 threshold 3 0
  54. mls qos srr-queue output dscp-map queue 1 threshold 3 40 41 42 43 44 45 46 47
  55. mls qos srr-queue output dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
  56. mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
  57. mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
  58. mls qos srr-queue output dscp-map queue 3 threshold 3 16 17 18 19 20 21 22 23
  59. mls qos srr-queue output dscp-map queue 3 threshold 3 32 33 34 35 36 37 38 39
  60. mls qos srr-queue output dscp-map queue 4 threshold 1 8
  61. mls qos srr-queue output dscp-map queue 4 threshold 2 9 10 11 12 13 14 15
  62. mls qos srr-queue output dscp-map queue 4 threshold 3 0 1 2 3 4 5 6 7
  63. mls qos queue-set output 1 buffers 10 10 60 20
  64. mls qos queue-set output 2 buffers 10 10 60 20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement