[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
probs deleting filters
I am having difficulties deleting filters. I cannot figure out to do it.
Let me show and example setup....
qdisc cbq 1: dev eth0 rate 10Mbit (bounded,isolated) prio no-transmit
class cbq 1: root rate 10Mbit (bounded,isolated) prio no-transmit
class cbq 1:1 parent 1: rate 2000bps (bounded,isolated) prio 2
filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 8: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800
bkt 0 flowid 1:1
match c00414e8/ffffffff at 12
filter parent 1: protocol ip pref 1 u32 fh 800::801 order 2049 key ht 800
bkt 0 flowid 1:1
match c00414e8/ffffffff at 16
How can I delete an individual filter without having to delete the entire
u32 classifier? For example, I want do delete:
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800
bkt 0 flowid 1:1
match c00414e8/ffffffff at 12
I have tried giving handles by using param such as handle ::1, but when I
try deleting it, I get the following error:
RTNETLINK answers: No such file or directory
I have tried the following ways:
tc filter del dev eth0 parent 1:0 handle ::1
tc filter del dev eth0 parent 1:0 handle 800::1
tc filter del dev eth0 parent 1:0 handle 800::800
tc filter del handle ::1
tc filter del handle 800::1
tc filter del handle 800::800
Any suggestions? Any ideas what I am doing wrong???
-----------------------------------------------------------------------
Armando L. Caro Jr. acaro@cis.udel.edu
University of Delaware http://www.cis.udel.edu/~acaro
-----------------------------------------------------------------------