Ferimex E-4000 User Manual - page 14
rate
- sets both irate and orate
maxirate
- maximal input (download) rate the class can get.
maxorate
- maximal output (upload) rate the class can get.
maxrate
- sets both maxirate and maxorate
par[ent]
- sets parent class. This way you can set class hierarchy
so that the child classes will share the bandwidth with
parent.
prio
- defines priority of the traffic. Classes with the lowest
number get serviced first.
fprio
- specifies the order in which the traffic will be assig-
ned to a class for shaping purposes. Each packet will
belong to the class with lowest fprio that matches its
IP address.
qdisc
- queuing discipling specifying the way packets are sent
over the network. Default is esfq for leaf classes and
htb for non-leaf classes. Leaf classes could use follo-
wing values: sfq, esfq, red.
sfq (stochastic fairness queuing) qdisc tries to do fair
sharing between multiple connections.
esfq (enhanced sfq) qdisc tries to distribute the traffic
fairly between multiple hosts (by dest. address for
download, src. address for upload).
red (random early detection) starts to drop packets
with rising congestion, so it handles traffic peaks more
gracefully.
Classes are compound object that serve multiple purposes:
- access restrictions for clients - each client has a corresponding class by his MAC
address. To control his status set cl enable is used together with set
ted. Also the class must have if parameter set for the correct operation.
- IP address verification - to avoid clients using other IP addresses than the assigned
ones, you assing the class its IP and MAC address and set
ponding interface and only the the traffic with the configured addresses will be allo-
wed.
- traffic shaping - packets are assigned to classes (if more classes overlap, the one with
the lowest fprio is used) by their ip and match settings and shaped according to the
rate settings. Classes form a hierarchy. Every class gets at least the guaranteed band-
width. If there is unused bandwidth at the parent, the class can get it up to its max-
rate. Classes with lower priority get serviced first. Classes with the same priority sha-
re unused bandwidth proportionally to their guaranteed rates. If the sum of the child
class guaranteed rates exceed the parent rate or maxrate, the parent setting isnt res-
pected. Only leaf classes are scheduled, hierarchy serves only as information about
sharing unused bandwidth.
- traffic accounting - every class is accounted for its traffic, matching is done via ip
and match
15
TRAFFIC MANAGER E-4000