From: "James A. Crippen" <james@UnLambda.COM>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Clearing all filters
Date: Wed, 11 Jul 2001 17:47:05 +0000 [thread overview]
Message-ID: <marc-lartc-99487371631493@msgid-missing> (raw)
In-Reply-To: <marc-lartc-99487136122326@msgid-missing>
On Wed, 11 Jul 2001, Michael T. Babcock wrote:
> I'd like to be able to wipe out all classes and/or filters (like doing
> an ipchains -F for packet filter rules) quickly at the beginning of my
> scripts. Is there a way to do this that I'm not aware of?
You can do so by deleting the root qdisc for each device. Thus, supposing
some configuration similar to the following,
qdisc cbq 1: dev eth1 rate 100Mbit (bounded,isolated) prio no-transmit
qdisc cbq 2: dev eth2 rate 100Mbit (bounded,isolated) prio no-transmit
you can delete the root qdisc from each device with this command:
# tc qdisc del dev eth1 root
# tc qdisc del dev eth2 root
Everything that depends on the root qdisc (which, IIRC, is indeed
everything) will be deleted when the root qdisc is deleted.
HTH, HAND
'james
--
James A. Crippen <james@unlambda.com> ,-./-. Anchorage, Alaska,
Lambda Unlimited: Recursion 'R' Us | |/ | USA, 61.2069 N, 149.766 W,
Y = \f.(\x.f(xx)) (\x.f(xx)) | |\ | Earth, Sol System,
Y(F) = F(Y(F)) \_,-_/ Milky Way.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next prev parent reply other threads:[~2001-07-11 17:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-11 16:58 [LARTC] Clearing all filters Jose Miguel Varet
2001-07-11 17:02 ` Michael T. Babcock
2001-07-11 17:47 ` James A. Crippen [this message]
2001-07-11 18:06 ` Michael T. Babcock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-99487371631493@msgid-missing \
--to=james@unlambda.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.