tc Command Examples

Show/manipulate traffic control settings. More information: https://manned.org/tc.

tc qdisc add dev {{eth0}} root netem delay {{delay_in_milliseconds}}ms

tc qdisc add dev {{eth0}} root netem delay {{mean_delay_ms}}ms {{delay_std_ms}}ms

tc qdisc add dev {{eth0}} root netem {{corruption|loss|duplication}} {{effect_percentage}}%

tc qdisc add dev eth0 root tbf rate {{max_bandwidth_mb}}mbit burst {{max_burst_rate_kb}}kbit latency {{max_latency_before_drop_ms}}ms

tc qdisc show dev {{eth0}}

tc qdisc del dev {{eth0}}

tc qdisc change dev {{eth0}} root netem {{policy}} {{policy_parameters}}