summaryrefslogtreecommitdiff
path: root/templates/traffic-policy/random-detect
AgeCommit message (Collapse)Author
2020-06-29qos: T2572: fix default tc unitscurrite
Fix every wrong default unit in rates for Limiter, Network Emulator, Rate Control, Shaper and Shaper HFSC. Delete default unit help for Random Detect. (cherry picked from commit b44a95e70057d7ffbe0991449d901ade71b83e04)
2010-08-17Fix help messageStephen Hemminger
Queue limit is in packets not bytes. (cherry picked from commit baaee833507361b891601101b4faa4c5baaa3c41)
2010-07-19Cleanup usage of val_help:Stephen Hemminger
Add spaces and use u32: format
2010-07-16Use val_help: to show command optionsStephen Hemminger
Replace all usage in this package of comp_help with new val_help
2010-07-16Remove verb from help string textStephen Hemminger
And fix some typos
2010-07-13Require queue limit to be greater than zeroStephen Hemminger
Since queue limit of zero causes all packets to be dropped; require user to configure a reasonable value Bug 5842
2010-06-07Rearrange Qos commands for LarkspurStephen Hemminger
Current (Kenwood and earlier): set qos-policy traffic-shaper TS { ...classes } set qos-policy traffic-limiter TL { ...classes } seq qos-policy network-emulator NE ... set qos-policy random-detect RD ... set qos-policy rate-limiter RC ... set qos-policy round-robin RR ... set interfaces ethernet eth0 qos-policy out TS set interfaces ethernet eth0 qos-policy in TL New (Larkspur and later): set traffic-policy shaper TS { ...classes } set traffic-policy limiter TL { ...classes } seq traffic-policy network-emulator NE ... set traffic-policy random-detect RD ... set traffic-policy rate-control RC ... set traffic-policy round-robin RR ... set interfaces ethernet eth0 traffic-policy out TS set interfaces ethernet eth0 traffic-policy in TL set interfaces ethernet eth0 redirect ifb0 set interfaces ethernet eth0 mirror eth2 Note: 1. Only one of the following is allowed: "redirect", or "mirror" 2. Traffic-policy limiter is allowed with redirection/mirror and takes place before mirror/redirect action (NEW) 3. Limiter policy may applied on output (NEW) 4. Only limiter policies can be applied on input (same as previous releases) This does add some new functionality (#2, and #3) which are possible because of how filter classes are implemented.