Fix some errors in documentation
This commit is contained in:
parent
8cb8fbe5e4
commit
dca9f124e4
|
|
@ -13,7 +13,7 @@ Run tc-gen.sh without parameters to see more details.
|
||||||
Shape egress to 5 mbit/s and ingress to 10 mbit/s using IFB-interface
|
Shape egress to 5 mbit/s and ingress to 10 mbit/s using IFB-interface
|
||||||
tc-gen.sh -i eth0 -u 5 -d 10 -f ifb0
|
tc-gen.sh -i eth0 -u 5 -d 10 -f ifb0
|
||||||
|
|
||||||
Shape egress to 20 mbit/s and police ingress to 2 mbit/s
|
Shape egress to 2 mbit/s and police ingress to 20 mbit/s
|
||||||
tc-gen.sh -i eth0 -u 2 -d 20
|
tc-gen.sh -i eth0 -u 2 -d 20
|
||||||
|
|
||||||
Display current configuration
|
Display current configuration
|
||||||
|
|
@ -29,7 +29,8 @@ Run tc-gen.sh without parameters to see more details.
|
||||||
post-up /usr/local/bin/tc-gen.sh -i ${IFACE} -u 10 -d 100 -f ifb0
|
post-up /usr/local/bin/tc-gen.sh -i ${IFACE} -u 10 -d 100 -f ifb0
|
||||||
|
|
||||||
# More advanced example with an additional tc filter exclude for
|
# More advanced example with an additional tc filter exclude for
|
||||||
# UDP-encapsulated IPsec ESP-traffic to avoid double counting IPsec data
|
# UDP-encapsulated IPsec ESP-traffic to avoid double counting IPsec data on
|
||||||
|
# ingress
|
||||||
allow-auto bond0.12
|
allow-auto bond0.12
|
||||||
iface bond0.12 inet dhcp
|
iface bond0.12 inet dhcp
|
||||||
post-up /usr/local/bin/tc-gen.sh -i ${IFACE} -u 10 -d 100 -f ifb0
|
post-up /usr/local/bin/tc-gen.sh -i ${IFACE} -u 10 -d 100 -f ifb0
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ EXAMPLES OF COMMON USE
|
||||||
Shape egress to 5 mbit/s and ingress to 10 mbit/s using IFB-interface
|
Shape egress to 5 mbit/s and ingress to 10 mbit/s using IFB-interface
|
||||||
tc-gen.sh -i eth0 -u 5 -d 10 -f ifb0
|
tc-gen.sh -i eth0 -u 5 -d 10 -f ifb0
|
||||||
|
|
||||||
Shape egress to 20 mbit/s and police ingress to 2 mbit/s
|
Shape egress to 2 mbit/s and police ingress to 20 mbit/s
|
||||||
tc-gen.sh -i eth0 -u 2 -d 20
|
tc-gen.sh -i eth0 -u 2 -d 20
|
||||||
|
|
||||||
Display current configuration
|
Display current configuration
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue