documentation:configuration:config_files:config_qos

Differences

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

Link to this comparison view

documentation:configuration:config_files:config_qos [2016/08/03 12:16]
admin
documentation:configuration:config_files:config_qos [2018/05/24 09:05]
Line 1: Line 1:
-====== Quality of Service (qos-scripts) configuration ====== 
-This is the documentation for the UCI configuration file ''/​etc/​config/​qos''​. It is used by the package ''​qos-scripts''​ only. 
  
- 
-<​code>​ 
-# INTERFACES: ​                                                                                                                                                                                                                                                                   
-config interface wan                                                                                                                                                                                                                                                            ​ 
-        option classgroup ​ "​Default" ​                                                                                                                                                                                                                                           ​ 
-        option enabled ​     0                                                                                                                                                                                                                                                    
-        option upload ​      ​128 ​                                                                                                                                                                                                                                                 
-        option download ​    ​1024 ​                                                                                                                                                                                                                                               ​ 
-                                                                                                                                                                                                                                                                                ​ 
-# RULES: ​                                                                                                                                                                                                                                                                       ​ 
-config classify ​                                                                                                                                                                                                                                                                 
-        option target ​      "​Priority" ​                                                                                                                                                                                                                                         ​ 
-        option ports        "​22,​53" ​                                                                                                                                                                                                                                             
-        option comment ​     "ssh, dns" ​                                                                                                                                                                                                                                         ​ 
-config classify ​                                                                                                                                                                                                                                                                 
-        option target ​      "​Normal" ​                                                                                                                                                                                                                                           ​ 
-        option proto        "​tcp" ​                                                                                                                                                                                                                                               
-        option ports        "​20,​21,​25,​80,​110,​443,​993,​995" ​                                                                                                                                                                                                                       
-        option comment ​     "ftp, smtp, http(s), imap" ​                                                                                                                                                                                                                         ​ 
-config classify ​                                                                                                                                                                                                                                                                 
-        option target ​      "​Express" ​                                                                                                                                                                                                                                           
-        option ports        "​5190" ​                                                                                                                                                                                                                                             ​ 
-        option comment ​     "AOL, iChat, ICQ" ​                                                                                                                                                                                                                                   
-config default ​                                                                                                                                                                                                                                                                 ​ 
-        option target ​      "​Express" ​                                                                                                                                                                                                                                           
-        option proto        "​udp" ​                                                                                                                                                                                                                                               
-        option pktsize ​     "​-500" ​                                                                                                                                                                                                                                             ​ 
-config reclassify ​                                                                                                                                                                                                                                                               
-        option target ​      "​Priority" ​                                                                                                                                                                                                                                         ​ 
-        option proto        "​icmp" ​                                                                                                                                                                                                                                             ​ 
-config default ​                                                                                                                                                                                                                                                                 ​ 
-        option target ​      "​Bulk" ​                                                                                                                                                                                                                                             ​ 
-        option portrange ​   "​1024-65535" ​                                                                                                                                                                                                                                       ​ 
-                                                                                                                                                                                                                                                                                ​ 
-                                                                                                                                                                                                                                                                                ​ 
-# Don't change the stuff below unless you                                                                                                                                                                                                                                        
-# really know what it means :)                                                                                                                                                                                                                                                  ​ 
-                                                                                                                                                                                                                                                                                ​ 
-config classgroup "​Default" ​                                                                                                                                                                                                                                                     
-        option classes ​     "​Priority Express Normal Bulk" ​                                                                                                                                                                                                                     ​ 
-        option default ​     "​Normal" ​                                                                                                                                                                                                                                           ​ 
-                                                                                                                                                                                                                                                                                ​ 
-                                                                                                                                                                                                                                                                                ​ 
-config class "​Priority" ​                                                                                                                                                                                                                                                         
-        option packetsize ​ 400                                                                                                                                                                                                                                                  ​ 
-        option avgrate ​    ​10 ​                                                                                                                                                                                                                                                   
-        option priority ​   20                                                                                                                                                                                                                                                    
-config class "​Priority_down" ​                                                                                                                                                                                                                                                   ​ 
-        option packetsize ​ 1000                                                                                                                                                                                                                                                  
-        option avgrate ​    ​10 ​                                                                                                                                                                                                                                                   
-                                                                                                                                                                                                                                                                                ​ 
-                                                                                                                                                                                                                                                                                ​ 
-config class "​Express" ​                                                                                                                                                                                                                                                         ​ 
-        option packetsize ​ 1000                                                                                                                                                                                                                                                  
-        option avgrate ​    ​50 ​                                                                                                                                                                                                                                                   
-        option priority ​   10                                                                                                                                                                                                                                                    
-                                                                                                                                                                                                                                                                                ​ 
-config class "​Normal" ​                                                                                                                                                                                                                                                           
-        option packetsize ​ 1500                                                                                                                                                                                                                                                  
-        option packetdelay 100                                                                                                                                                                                                                                                  ​ 
-        option avgrate ​    ​10 ​                                                                                                                                                                                                                                                   
-        option priority ​   5                                                                                                                                                                                                                                                    ​ 
-config class "​Normal_down" ​                                                                                                                                                                                                                                                     ​ 
-        option avgrate ​    ​20 ​                                                                                                                                                                                                                                                   
-                                                                                                                                                                                                                                                                                ​ 
-config class "​Bulk" ​                                                                                                                                                                                                                                                             
-        option avgrate ​    ​1 ​                                                                                                                                                                                                                                                   ​ 
-        option packetdelay 200  ​ 
-</​code>​ 
documentation/configuration/config_files/config_qos.txt ยท Last modified: 2018/05/24 09:05 (external edit)