4 users online | 4 Guests and 0 Registered

How to Limit Bandwidth on Juniper SRX Routers


Filter Definition

firewall {                              
    policer 2Mbps {
        if-exceeding {
            bandwidth-limit 2m;
            burst-size-limit 100k;
        }
        then discard;
    }
    filter Filter-2Mbps {
        term a {
            from {
                source-address {
                    192.168.1.0/24;
                }
            }
            then {
                policer 2Mbps;
                accept;
            }
        }
    }
}


Apply on VLAN Interface

interfaces {
    vlan {
        unit 0 {
            family inet {
                filter {
                    output 2Mbps;
                }
                address 192.168.1.1/24;
            }
        }
    }
}

Last update:
2016-03-23 16:23
Author:
Steve
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.