Switching

last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  EX3300 BW policer Config

    Posted 08-28-2016 10:42

    Hello Community, 

     

         I am currently setting up a BW policer in a EX3300 running 12.3R6.6. I've set a Policer in a Layer 2 port as a test before implemnting it in a L3 Port. 

     

    the config is the following:

     

    filter TEST_1 {
    term 1 {
    from {
    interface ge-0/0/21.0;
    }
    then {
    accept;
    policer TEST
    }
    }
    }
    }
    policer TEST{
    if-exceeding {
    bandwidth-limit 32m;
    burst-size-limit 2m;
    }
    then discard;
    }

     

     

    I would like to know if this would work and will decrement the BW from 32Mbps to 2Mbps and then drop the packets and if so. Is there any way within junOS to Test the functionability of the policer?

     

    Thanks



  • 2.  RE: EX3300 BW policer Config
    Best Answer

     
    Posted 08-28-2016 20:25

    Hello,

     

    I do not think that there is any native way of testing policer in Juniper EX switches.

    Your configuration allows the traffc upto 32M and burst size of 2M (above 32M) to pass through. Only when traffic exceeds that rate, it will be discarded.

     

    Regards,

     

    Rushi



  • 3.  RE: EX3300 BW policer Config

    Posted 08-29-2016 08:49