Traffic Shapping And limit

Hello all,

I’m trying to shape my traffic from the LAN to Internet, check my configuration :
And below applied on the WAN interface.

 traffic-policy {
    limiter IA-DWN {
        class 1 {
            bandwidth 300mbit
            burst 15k
            match user {
                ip {
                    destination {
                        address 192.168.80.0/24
                    }
                }
            }
            priority 20
        }
        default {
            bandwidth 300mbps
            burst 15k
        }
    }
    shaper IA-UP {
        bandwidth auto
        class 51 {
            bandwidth 300mbps
            burst 15k
            match user {
                ip {
                    source {
                        address 192.168.80.0/24
                    }
                }
            }
            queue-type fair-queue
        }
        default {
            bandwidth 300mbit
            burst 15k
            queue-type fair-queue
        }
    }
}

image

i never get the good bandwidth.

Who can help me please ?

So i try to make a msot simple config :

traffic-policy {
    limiter IA-IN {
        class 10 {
            bandwidth 20mbps
        }
    }
}
ethernet eth5 {
    address 192.168.80.254/24
    description LAN-INT
    hw-id 00:50:56:98:07:c6
    redirect ifb5
    traffic-policy {
        in IA-IN
    }
}

and added on my LAN interface.

BW test :

image

–’

Please anybody can help me ? :frowning: