User Tools

Site Tools


сервис_qos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
сервис_qos [2018/09/12 13:40]
val [Выделение полосы в магистральном соединении для трафика с определенным QOS]
сервис_qos [2020/05/07 07:37] (current)
val [Сервис QOS]
Line 2: Line 2:
  
   * [[https://​habr.com/​post/​420525/​|Сети для самых матёрых. Часть пятнадцатая. QoS]]   * [[https://​habr.com/​post/​420525/​|Сети для самых матёрых. Часть пятнадцатая. QoS]]
 +
 +===== Уилиты для экспериментов =====
 +
 +  * [[Утилита iPerf]]
 +
 +<​code>​
 +gate# apt install wondershaper ​
 +
 +gate# wondershaper eth1 10 10
 +
 +gate# wondershaper eth1
 +
 +gate# wondershaper clear eth1
 +</​code>​
 +
 +===== Linux =====
 ===== Cisco ===== ===== Cisco =====
  
Line 8: Line 24:
   * [[http://​cisco-conf.ru/​qos/​90-qos-catalyst-3750-.html|3750 QOS: Общие принципы]]   * [[http://​cisco-conf.ru/​qos/​90-qos-catalyst-3750-.html|3750 QOS: Общие принципы]]
  
 +==== Включение ====
 +
 +<​code>​
 +mls qos
 +</​code>​
 ==== Назначение QOS для трафика c определенным DSCP  ==== ==== Назначение QOS для трафика c определенным DSCP  ====
  
Line 47: Line 68:
 show mls qos maps cos-output-q show mls qos maps cos-output-q
  
-interface GigabitEthernet1/​0/​1+interface GigabitEthernet1/​0/​11
  mls qos cos 5  mls qos cos 5
  mls qos trust cos   mls qos trust cos 
Line 55: Line 76:
  
 <​code>​ <​code>​
-clear mls qos interface g1/0/47 statistics +sh mls qos queue-set 
-show mls qos interface g1/​0/​47 ​statistics | inc queue+ 
 +show mls qos interface g1/​0/​47 ​queueing
  
 interface GigabitEthernet1/​0/​47 interface GigabitEthernet1/​0/​47
-! Full priority for q0+! Full priority for q1
  ​srr-queue bandwidth shape 0 0 0 0  ​srr-queue bandwidth shape 0 0 0 0
  ​srr-queue bandwidth share 255 1 1 1  ​srr-queue bandwidth share 255 1 1 1
  
-! 1/20 band for q0+! 1/20 band for q1
  ​srr-queue bandwidth shape 20 0 0 0  ​srr-queue bandwidth shape 20 0 0 0
  ​srr-queue bandwidth share 1 1 1 1  ​srr-queue bandwidth share 1 1 1 1
  
- +clear mls qos interface g1/0/47 statistics 
- +show mls qos interface g1/​0/​47 ​statistics | inc queue
-show mls qos interface g1/​0/​47 ​queueing+
 </​code>​ </​code>​
  
сервис_qos.1536748835.txt.gz · Last modified: 2018/09/12 13:40 by val