From mboxrd@z Thu Jan 1 00:00:00 1970 From: lartc@pro-technica.com Date: Thu, 24 Jun 2004 04:37:32 +0000 Subject: [LARTC] Re: htb filter Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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. Regards, Svetozar. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/