You may want to consider the "shaping-rate" statement. Look at the example below for 20 Mbps throttling.
--------------------
ge-0/0/0 {
    unit 0 {
        family ethernet-switching {
            filter {
                input filter-20m;
            }
        }
    }
}

class-of-service {
    interfaces {
        ge-0/0/0 {
            shaping-rate 20m;
        }
}

firewall {
    family ethernet-switching {
        filter filter-20m {
            interface-specific;
            term 1 {
                then policer policer-20m;
            }
        }
    }
    policer policer-20m {
        filter-specific;
        if-exceeding {
            bandwidth-limit 20m;
            burst-size-limit 1m;
        }
        then discard;
    }
}

_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to