Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to rate limit traffic to a Routed VLAN Interface (RVI) on an EX Series Switch



Article ID: KB14250 KB Last Updated: 19 Aug 2009Version: 1.0
Rate limiting traffic on an EX Series Switch Routed VLAN Interface (RVI) can be accomplished using a policer and firewall filter.  This allows you to limit the traffic across specific vlans if required.




  • EX Switch with VLAN A and VLAN B
  • Each VLAN on the EX Switch has a Routed VLAN Interface (RVI) configured to perform inter-VLAN routing within the switch (This can also be referred to as Integrated Routing Bridging Interface (IRB))


  • Write the policer to rate limit traffic and firewall filter to apply it:

policer icmp {
       if-exceeding {
             bandwidth-limit 100k;
             burst-size-limit 100;
       then discard;
family inet {
        filter icmp_protect {
            term test {
                  from {
                          destination-address {
                         protocol icmp;
                    then {
                             policer icmp;
                             count icmp_packet;
               term default {
                          then accept;

Apply the firewall filter to the "input" RVI of VLAN A or VLAN B:

  • prompt# set interface vlan.10 family inet filter input icmp_protect

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search