Hi Vincent, You used the line below to create the filter. All you need to do is to substitute the add with a del to remove it. tc filter add dev peth1 parent 1: protocol ip prio 16 u32 match ip src x.x.x.x flowid 1:1 Unless you are fluent in hexidecimal, I would recommend adding the -p option as in "tc -p filter ls dev peth1" to format the output and make it more readable. Cheers, Remy On 22 October 2013 10:32, Vincent Jancso <vincent.jancso@xxxxxxxxxxxxx> wrote: > Hi, > > I have created a filter with the following command: > > tc filter add dev peth1 parent 1: protocol ip prio 16 u32 match ip src x.x.x.x flowid 1:1 > > And here is the output of "tc filter show dev peth1": > > filter parent 1: protocol ip pref 16 u32 > filter parent 1: protocol ip pref 16 u32 fh 800: ht divisor 1 > filter parent 1: protocol ip pref 16 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:1 > match 5bd6aaf9/ffffffff at 12 > > If I have multiple filters, how do I know, which filter is that I configured before? > And how do I delete only 1 filter? > > I tried it with: > > tc filter del dev peth1 pref 1 protocol ip handle 800:.800 u32 > But I always get: > RTNETLINK answers: No such file or directory > We have an error talking to the kernel > > Regards, > > Vincent Jancso > -- > To unsubscribe from this list: send the line "unsubscribe lartc" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html