On Thursday 24 June 2004 06:37, lartc@xxxxxxxxxxxxxxxx wrote: > Jason Boxman writes: > > On Wednesday 23 June 2004 01:57, Svetozar Mihailov wrote: > >> > Shouldn't this: > >> > > tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio > >> > > 10 > >> > > >> > be "parent 2:"? > >> > > >> > Ed W > >> > >> That change nothing. I have running system with 800 PC , 4 classes for > >> each. There is no difference for me in using "parent 2:" vs "parent > >> 2:0". Both give same result. > > > > Exactly. 2: is simply a short hand for 2:0, for example. > > And is someone have idea how to list current configuration? I want to wrote > similar to 'iptables-save' but for tc. In my running config there are about > 3200 classes and 4000 filters. The script I generate is 1.2Mbytes and need > 45 seconds to apply. I want to speedup this process with some kind of > tc-save and tc-restore. I wrote some scripts to save the running configuration, but it is integrated in other, buggy, bloated script. The major problem is recognizing the different options and qdiscs/classes. Stef -- stef.coene@xxxxxxxxx Â"Using Linux as bandwidth manager" Â Â Âhttp://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/