Skip to contentSkip to conversation

How to del the filter?

LARTC Jose Miguel Varet 2 participants 2 messages Jul 13, 2001

lore
Share & tools
lore
#0 lore raw

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: <[email protected]>
To: <[email protected]>
Sent: Friday, July 13, 2001 3:48 PM
Subject: [LARTC] How to del the filter?

Quoted 4 lines

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

Quoted 2 lines

#Class for the real-time traffic. Avpkt here doesn't have the default

value of 1000 because

Quoted 7 lines

#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

Quoted 2 lines

Now i don't manage to del the filter.Someone can write me the command

please.

Quoted 1 line

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!!

Quoted 7 lines

Thanks (and sorry for my english :-))

_______________________________________________
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/

#1 lore raw

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/