Displaying 1 result from an estimated 1 matches for "af_rat".
Did you mean:
af_rate
2007 Feb 28
1
Data rate with HTB
Dear all,
I''m making a script to implement DiffServ policies with HTB. Here it is :
if test $1 = "help" -o $1 = "h" -o $# != 5
then
echo "usage: ds.sh <DEVICE> <DS_RATE> <EF_RATE> <AF_RATE> <BE_RATE>"
exit
fi
DEV=$1
DS_RATE=$2
EF_RATE=$3
AF_RATE=$4
BE_RATE=$5
sync
tc qdisc del root dev $DEV
tc qdisc add dev $DEV root handle 1: htb default 1
tc class add dev $DEV parent 1: classid 1:1 htb rate $DS_RATE ceil $DS_RATE
tc class add dev $DEV parent 1:1 classid 1:10 htb...