[j-nsp] configure bandwidth limitation on EX3200

Jesus Alvarez jalvarez at prw.net
Thu Apr 21 08:09:33 EDT 2011


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;
     }
}



More information about the juniper-nsp mailing list