[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Edge device script for



Thank you for pointing out the mistake. However, after I have made
the correction, I still see similar output as follows:

qdisc tbf 8006: dev eth0 rate 10Kbit burst 2559b/8 mpu 0b lat 122.6s
Sent 45570 bytes 85 pkts (dropped 0, overlimits 82)
backlog 36Kb 68p

qdisc dsmark 1: dev eth0 indices 0x0040
Sent 45570 bytes 85 pkts (dropped 0, overlimits 0)
backlog 68p

Best Regards

jamal wrote:

> On Mon, 17 May 1999, Ng Kok Leong wrote:
>
> > =============Script
> > file===============================================================
> > #!/bin/sh -x
> > tc qdisc add dev eth0 handle 1:0 root dsmark indices 64
> > tc class change dev eth0 classid 1:1 dsmark mask 0x3 value 0xb8
> > tc qdisc add dev eth0 parent 1:1 tbf limit 1Mbit burst 20Kbit rate
> > 10Kbit
> > tc class change dev eth0 classid 1:2 dsmark mask 0x3 value 0x68
> > tc qdisc add dev eth0 parent 1:2 pfifo limit 5
> > tc class change dev eth0 classid 1:3 dsmark mask 0x3 value 0x48
> > tc qdisc add dev eth0 parent 1:1 tbf limit 1Mbit burst 20Kbit rate
> > 10Kbit
>
> Ahem.
> Should the above line read:
> tc qdisc add dev eth0 parent 1:3 tbf limit 1Mbit burst 20Kbit rate 10Kbit
>                              ^^^
>
> cheers,
> jamal