Skip to contentSkip to conversation

Ri:Re: [LARTC] How to del the filter?

DISCUSSION [email protected] 2 participants 2 messages Jul 13, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines

---------- Initial message -----------

From : [email protected]
To : <[email protected]>
Cc :
Date : Fri, 13 Jul 2001 15:41:02 +0200
Subject : Re: [LARTC] How to del the filter?

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

Quoted 7 lines
# 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

ok it's right!!!!!!!!!!Thanks Jose
One question before to del i write:

[root@deis21 PROVE IPROUTE]# tc filter show dev eth0
filter parent 1: protocol ip pref 100 u32
filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:1
match c0a80102/ffffffff at 16

it's normal there is wrote "pref" and not prio?
I had created only one filter, why there is wrote 3 line, that means that trere are 3 filter or is the same filter! Thanks

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#1 lore raw

aarrg damn my router, I missed that one XD
you are right, for filters is "pref" and not "prio". It's been days since I do not touch the tc commands, so I mixed the classes' "prio" with filter's "pref".
So issue the "del" command specifying the pref, et voilâ. Greets,

Jose,

----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Friday, July 13, 2001 4:37 PM
Subject: Ri:Re: [LARTC] How to del the filter?

Quoted 8 lines
Quoted 8 lines

---------- Initial message -----------

From : [email protected]
To : <[email protected]>
Cc :
Date : Fri, 13 Jul 2001 15:41:02 +0200
Subject : Re: [LARTC] How to del the filter?

Quoted 7 lines
Quoted 7 lines

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

Quoted 11 lines
Quoted 3 lines

of other parameters such fmark/u32/etc.

God Saves Tc

ok it's right!!!!!!!!!!Thanks Jose
One question before to del i write:

[root@deis21 PROVE IPROUTE]# tc filter show dev eth0
filter parent 1: protocol ip pref 100 u32
filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1 filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht

800 bkt 0 flowid 1:1

Quoted 4 lines

match c0a80102/ffffffff at 16

it's normal there is wrote "pref" and not prio?
I had created only one filter, why there is wrote 3 line, that means that

trere are 3 filter or is the same filter!

Quoted 7 lines

Thanks

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:

http://ds9a.nl/2.4Routing/

Quoted 1 line

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/