From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Mon, 28 Jun 2004 18:01:31 +0000 Subject: Re: [LARTC] Re: htb filter Message-Id: <200406282001.31896.stef.coene@docum.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: lartc@vger.kernel.org On Thursday 24 June 2004 06:37, lartc@pro-technica.com 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@docum.org  "Using Linux as bandwidth manager"      http://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/