sudo tc qdisc del dev lo ingress sudo tc qdisc add dev lo ingress sudo tc filter add dev lo parent ffff: protocol ip prio 8 u32 \ match ip dst 127.0.0.8/32 flowid 1:10 \ action vlan push id 100 protocol 802.1q \ action drop index 104 sudo tc filter add dev lo parent ffff: protocol ip prio 8 u32 \ match ip dst 127.0.0.10/32 flowid 1:10 \ action vlan push id 101 protocol 802.1q \ action drop index 104 # sudo tc -s filter ls dev lo parent ffff: protocol ip #this will now delete action gact index 104(drop) from display sudo tc -s actions get action drop index 104 sudo tc -s filter ls dev lo parent ffff: protocol ip #But you can still see it if you do this: sudo tc -s actions get action drop index 104