Skip to contentSkip to conversation

How to delete a tc qdisc entry?]

Fwd: Suhail [email protected] 1 participant 1 message Nov 7, 2000

lore
Share & tools
lore

Suhail [email protected]

author
#0 lore raw

<PRE>&gt;<i>
</I>
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

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

</PRE>