Quality of Service (QoS) 900 Interface to apply QoS policy txt Interface name #include Interface ingress traffic policy qos policy limiter txt QoS policy to use [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed Interface egress traffic policy qos policy cake qos policy drop-tail qos policy fair-queue qos policy fq-codel qos policy network-emulator qos policy priority-queue qos policy random-detect qos policy rate-control qos policy round-robin qos policy shaper qos policy shaper-hfsc txt QoS policy to use [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed Service Policy definitions Common Applications Kept Enhanced (CAKE) txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include #include Flow isolation settings blind src-host dst-host host flow dual-src-host dual-dst-host triple-isolate blind Disables flow isolation, all traffic passes through a single queue src-host Flows are defined only by source address dst-host Flows are defined only by destination address host Flows are defined by source-destination host pairs flow Flows are defined by the entire 5-tuple dual-src-host Flows are defined by the 5-tuple, fairness is applied first over source addresses, then over individual flows dual-dst-host Flows are defined by the 5-tuple, fairness is applied first over destination addresses, then over individual flows triple-isolate Flows are defined by the 5-tuple, fairness is applied over source and destination addresses and also over individual flows (default) (blind|src-host|dst-host|host|flow|dual-src-host|dual-dst-host|triple-isolate) triple-isolate Perform NAT lookup before applying flow-isolation rules Round-Trip-Time for Active Queue Management (AQM) u32:1-1000000000 RTT in ms RTT must be in range 1 to 1000000000 milli-seconds 100 Packet limited First In, First Out queue txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include #include Stochastic Fairness Queueing txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include Interval in seconds for queue algorithm perturbation u32:0 No perturbation u32:1-2147483647 Interval in seconds for queue algorithm perturbation (advised: 10) Interval must be in range 0 to 2147483647 0 Upper limit of the SFQ u32:1-127 Queue size in packets Queue limit must be in range 1 to 127 127 Fair Queuing (FQ) with Controlled Delay (CoDel) txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include #include #include #include #include #include Traffic input limiting policy txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include Class ID u32:1-4090 Class Identifier Class identifier must be between 1 and 4090 #include #include #include #include #include #include #include #include 20 Default policy #include #include #include #include Network emulator policy txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include #include Adds delay to packets outgoing to chosen network interface <number> Time in milliseconds Priority must be between 0 and 65535 Introducing error in a random position for chosen percent of packets <number> Percentage of packets affected Priority must be between 0 and 100 Cosen percent of packets is duplicated before queuing them <number> Percentage of packets affected Priority must be between 0 and 100 Add independent loss probability to the packets outgoing to chosen network interface <number> Percentage of packets affected Must be between 0 and 100 Emulated packet reordering percentage <number> Percentage of packets affected Must be between 0 and 100 #include Priority queuing based policy txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include Class Handle u32:1-7 Priority Class handle must be between 1 and 7 #include #include #include #include #include #include #include #include drop-tail #include Default policy #include #include #include #include #include drop-tail #include Weighted Random Early Detect policy txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include #include IP precedence u32:0-7 IP precedence value IP precedence value must be between 0 and 7 #include #include #include #include #include Rate limiting policy (Token Bucket Filter) txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include #include #include Maximum latency <number> Time in milliseconds Threshold must be between 0 and 4096 50 Deficit Round Robin Scheduler txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include Class ID u32:1-4095 Class Identifier Class identifier must be between 1 and 4095 #include #include #include #include #include #include Packet scheduling quantum u32:1-4294967295 Packet scheduling quantum (bytes) Quantum must be in range 1 to 4294967295 #include #include drop-tail #include Default policy #include #include #include #include #include fair-queue #include Traffic shaping based policy (Hierarchy Token Bucket) txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include #include Class ID u32:2-4095 Class Identifier Class identifier must be between 2 and 4095 #include #include #include Bandwidth limit for this class <number> Rate in kbit (kilobit per second) <number>%% Percentage of overall rate <number>bit bit(1), kbit(10^3), mbit(10^6), gbit, tbit <number>ibit kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4) <number>ibps kibps(1024*8), mibps(1024^2*8), gibps, tibps - Byte/sec <number>bps bps(8),kbps(8*10^3),mbps(8*10^6), gbps, tbps - Byte/sec #include #include #include #include #include #include #include #include #include #include #include #include fq-codel #include #include Default policy #include #include Bandwidth limit for this class <number> Rate in kbit (kilobit per second) <number>%% Percentage of overall rate <number>bit bit(1), kbit(10^3), mbit(10^6), gbit, tbit <number>ibit kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4) <number>ibps kibps(1024*8), mibps(1024^2*8), gibps, tibps - Byte/sec <number>bps bps(8),kbps(8*10^3),mbps(8*10^6), gbps, tbps - Byte/sec #include #include #include Priority for usage of excess bandwidth u32:0-7 Priority order for bandwidth pool Priority must be between 0 and 7 20 #include #include #include #include #include #include fq-codel #include #include Hierarchical Fair Service Curve's policy txt Policy name [[:alnum:]][-_[:alnum:]]* Only alpha-numeric policy name allowed #include #include Class ID u32:1-4095 Class Identifier Class identifier must be between 1 and 4095 #include Linkshare class settings #include #include #include #include #include Realtime class settings #include #include #include Upperlimit class settings #include #include #include Default policy Linkshare class settings #include #include #include Realtime class settings #include #include #include Upperlimit class settings #include #include #include Filter group for QoS policy txt Match group name [^-].* Match group name cannot start with hyphen #include Class matching rule name [^-].* Match queue name cannot start with hyphen #include #include #include #include #include #include