Skip to content

Commit 9645c30

Browse files
authored
Update tc.md
1 parent d6e8869 commit 9645c30

File tree

1 file changed

+10
-0
lines changed
  • Cheat Sheets/Network

1 file changed

+10
-0
lines changed

Cheat Sheets/Network/tc.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,13 @@ Check default qdisc
3030
Make a qdisc permanent with NetworkManager
3131

3232
nmcli connection modify eth0 tc.qdiscs 'root pfifo_fast'
33+
34+
## filter
35+
36+
You need filters for example for classifying traffic to do traffic priorisation
37+
38+
tc filter add dev enp1s0 parent ffff: protocol ip u32 match u32 0 0 action ctinfo cpmark 100 action mirred egress redirect dev ifb4eth0
39+
40+
Show configured filters
41+
42+
tc filter show dev enp1s0

0 commit comments

Comments
 (0)