From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suhail suhail@comet.columbia.edu Date: Tue, 07 Nov 2000 23:13:41 +0000 Subject: [Fwd: [LARTC] How to delete a tc qdisc entry?] Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
>

Do you remember the parent of this qdisc ??? If yes ( and if it is xyz ) then try

tc qdisc del  dev eth1 parent  xyz:

It should do the trick.... However if you dont remember it's parent but if you  can
afford to delete the whole qdisc  ( everything from root) try

tc qdisc del root dev eth1

This deletes everything (classes, qdiscs, filters ) from the device...

Suhail

> >
> > Subject: [LARTC] How to delete a tc qdisc entry?
> > Date: Tue, 7 Nov 2000 22:50:22 +0100 (CET)
> > From: Clemens Sibon <sibon@triple-it.nl>
> > To: lartc@mailman.ds9a.nl
> >
> > Hi there,
> >
> > I cannot find the exact statement I used to create my tc qdisc entry, so
> > how do I delete it? It says: (tc qdisc show)
> >
> > qdisc sfq 8021: dev eth1 quantum 1514b perturb 15sec
> >
> > What I am trying to accomplish is reduce the speed of a network-device. I
> > don't need classes (for now), I just want to limit the max speed to say 2
> > Mbit with as few rules as possible.
> >
> > I tried it with 1 class and a tc filter that should match all but that
> > didn't work either. I have been fiddling around a lot and don't really
> > remember everything I tried :-( Will have to be a bit more tedious the
> > next time I gues :-((
> >
> > For now, all I want is to flush the entries I have without a reboot (if
> > possible)
> >
> > Thanks in advance,
> >
> > Clemens
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/