All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [LARTC] How to del the filter?
@ 2001-07-13 13:41 Jose Miguel Varet
  2001-07-13 13:48 ` macca
  0 siblings, 1 reply; 2+ messages in thread
From: Jose Miguel Varet @ 2001-07-13 13:41 UTC (permalink / raw)
  To: lartc

In order to delete a filter, the prio value is important . If I don't
remember too bad , if you type

# tc filter del dev eth0 parent 1:0 prio 100

you should be done.
Bewary : all filters which match such description will be erased, regardless
of other parameters such fmark/u32/etc.

God Saves Tc


                    Jose,

----- Original Message -----
From: <macca@inwind.it>
To: <lartc@mailman.ds9a.nl>
Sent: Friday, July 13, 2001 3:48 PM
Subject: [LARTC] How to del the filter?


> I write the following istruction:
>
> #Attach CBQ to the root of the output device
> tc qdisc add dev eth0 root handle 1: cbq bandwidth 10Mbit cell 8 avpkt
1000 mpu 64
>
> #Class for the real-time traffic. Avpkt here doesn't have the default
value of 1000 because
> #realtime multimedia traffic is usually characterized by small packets \
> tc class add dev eth0 parent 1:0 classid 1:1 cbq \
> bandwidth 10Mbit rate 1Mbit avpkt 400 prio 1 bounded isolated \
> allot 1514 weight 1 maxburst 2
>
> #aggiungo il filtro guardando esempio howto Advanced Routing(2.4) pag 22
> tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
192.168.1.2/32 flowid 1:1
>
> Now i don't manage to del the filter.Someone can write me the command
please.
> I wrote this istruction in the way that they were  similar with the sample
in the Avanced Howto 2.4. I don't understand why it's different from the way
that someone can understand from the help of tc!!
> Thanks (and sorry for my english :-))
>
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
http://ds9a.nl/2.4Routing/
>


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-13 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-13 13:41 [LARTC] How to del the filter? Jose Miguel Varet
2001-07-13 13:48 ` macca

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.