User Tools

Site Tools


mywiki:linux:tc-ca

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mywiki:linux:tc-ca [2025/08/29 13:25] – [Difference between ingress/egress qdisc] gshaomywiki:linux:tc-ca [2025/08/29 16:35] (current) – [Example to create below queue structures] gshao
Line 18: Line 18:
   * **htb** is a **hierarchical** token bucket used for shaping.   * **htb** is a **hierarchical** token bucket used for shaping.
   * **flowid** assigns traffic to **a specific class**.   * **flowid** assigns traffic to **a specific class**.
-  * **lowid :1** in this ingress command is a label or tag used for accounting and statistics:  +  * **tc class** is only for egress qdisc, not ingress qdisc 
-tc filter add dev <interface> parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 1mbit burst 10k drop **flowid :1**+  * **lowid :1** in this ingress command is a label or tag used for accounting and statistics: tc filter add dev <interface> parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 1mbit burst 10k drop **flowid :1**
  
  
Line 91: Line 91:
   * tc qdisc del dev eth1 root   * tc qdisc del dev eth1 root
  
-<code>+====== example to create multiple chains in the ingress qdisc ====== 
 + 
 + 
 +====== example to create multiple chains in the egress qdisc ====== 
  
mywiki/linux/tc-ca.1756445133.txt.gz · Last modified: by gshao