The class subsystem
Class subsystem is given as a first paramter to commands add, del, set, show.
Syntax:
add cl[ass] <class> [<classnum>]
del cl[ass] <class>
set cl[ass] <class> <classparam> <value>
show cl[ass] <class> [<classparam>]
reload cl[ass]
help cl
First form adds a class, optionally with the given number. If not given, the number will
be assigned automatically. Second form deletes a class. Third form sets a class para-
meter. Fourth form displays class setting(s).
Example:
add cl office
Available <classparams>:
n[umber] <number>
- class number. Could only be displayed.
na[me] <name>
- class name
ena[ble] <boolean>
- disabling |enabling of the class. disabled class will
disallow access of the corresponding client on interfa-
ces with access=listed.
ip<n> <ipaddr>/<mask>
- ip addresses ranges of the class (n defaults to 1)
match<n> <param>=<value>:<param>=<value>:...
- allows additional IP matching criteria, like protocol,
port, tos.
Following params are known (! means the criterion is
negated):
proto=[!](all|tcp|udp|icmp),
sport|dport=[!]<from>[-<to>],
tos=normal|min-cost|max-rel|max-thr|min-del
type=[!]<icmp-type-num>
mac <macaddr>
- MAC address of the host represented by the class,
the format is: a1:b2:c3:d4:e5:f6
if <interface>
- interface the client is connected to. It is required if
access restrictions are set (e.g. set <if> access listed,
resp. verify yes).
irate <rate>[-<maxrate>]
- guaranteed input (download) rate. Unit is one of:
bit,kbit,mbit,bps,kbps,mbps, where bps means bytes
per s.
orate <rate>[-<maxrate>]
- guaranteed output (upload) rate.
14
TRAFFIC MANAGER E-4000