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/03/15 14:06]
val [Выделение полосы в магистральном соединении для трафика с определенным QOS]
сервис_qos [2020/05/07 07:37]
val [Сервис QOS]
Line 1: Line 1:
 ====== Сервис QOS ====== ====== Сервис 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 7: 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 46: 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 54: Line 76:
  
 <​code>​ <​code>​
-clear mls qos interface g1/0/38 statistics +sh mls qos queue-set
-show mls qos interface g1/0/38 statistics | inc queue+
  
-interface GigabitEthernet1/​0/​38+show mls qos interface g1/0/47 queueing 
 + 
 +interface GigabitEthernet1/​0/​47 
 +! 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
  
-show mls qos interface g1/0/38 queueing+! 1/20 band for q1 
 + ​srr-queue bandwidth shape 20 0 0 0 
 + ​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
 </​code>​ </​code>​
  
сервис_qos.txt · Last modified: 2020/05/07 07:37 by val