Thanx, but this is what I get:
sh-2.04# tc qdisc del dev eth0 root handle 22:
RTNETLINK answers: Invalid argument
So then I did:
sh-2.04# tc qdisc del dev eth0 root help
Usage: tc qdisc [ add | del | replace | change | get ] dev STRING
[ handle QHANDLE ] [ root | ingress | parent CLASSID ]
[ estimator INTERVAL TIME_CONSTANT ]
[ [ QDISC_KIND ] [ help | OPTIONS ] ]
tc qdisc show [ dev STRING ] [ingress]
Where:
QDISC_KIND :=3D { [p|b]fifo | tbf | prio | cbq | red | etc. }
OPTIONS :=3D ... try tc qdisc add <desired QDISC_KIND> help
And I saw that handle is shown before root, so I tried:
sh-2.04# tc qdisc del dev eth0 handle 22: root
RTNETLINK answers: Invalid argument
It's about to drive me mad :(
Serge.
-----Original Message-----
From: Stef Coene [mailto:stef.coene@docum.org]
Sent: Wednesday, December 11, 2002 6:54 PM
To: Serge Maandag; lartc@mailman.ds9a.nl
Subject: Re: [LARTC] Unable to delete qdisc / class
On Wednesday 11 December 2002 13:50, Serge Maandag wrote:
> Dear list,
>
> I have setup a qdisc that I'd like to remove, but somehow it seems
> impossible.
>
> -----------------
> Output of show:
>
> sh-2.04# tc -d qdisc show
> qdisc cbq 22: dev eth0 rate 100Mbit cell 8b mpu 64b (bounded,isolated)
> prio no-transmit/8 weight 100Mbit allot 1514b
> level 0 ewma 5 avpkt 1000b maxidle 1us
>
> sh-2.04# tc -d class show dev eth0
> class cbq 22: root rate 100Mbit cell 8b mpu 64b (bounded,isolated) =
prio
> no-transmit/8 weight 100Mbit allot 1514b
> level 0 ewma 5 avpkt 1000b maxidle 1us
>
> sh-2.04# tc -d filter show dev eth0
> <nothing>
> -----------------
>
> If I do "tc qdisc del dev eth0 root" it says "RTNETLINK
answers: No =
such
> file or directory".
Mhh. This should work. =20
Try this :
tc qdisc del dev eth0 root handle 22:
Stef
--=20
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net