Can anyone shortly describe main differences between CBQ.init and HTB.init?
I don't fully understand it.
One difference is thant HTB can deal with dynamic bandwidth more easy than CBQ.init or am I wrong?
And what about prio?
There are differences of two kinds. One difference is between CBQ.init and HTB.init: HTB.init has modified config file layout that separates class and queueing discipline configuration and is a bit easier to parse. Some of the parameters in class configuration are missing and some are new due to differences between CBQ and HTB.
The other difference is between CBQ and HTB qdisc. CBQ requires more parameters to setup and is less precise than HTB. Configuration of HTB is much more intuitive.
What both scripts have in common is that they are meant to ease maintenance of larger configurations. They both parse the same rules for selecting traffic, they both support time dependend parameters.