Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / Juniper / Policer using firewall filter : Configuration Example

Policer using firewall filter : Configuration Example

June 1, 2016 by James Palmer

Policer using firewall filter : Policer using firewall filter : Configuration Example
How to configure policer based on firewall?

Use the following configuration:
Firewall filter:

set firewall family inet filter specificroutes term 1 from source-address 192.168.2.0/32
set firewall family inet filter specificroutes term 1 from source-address 192.168.1.0/32
set firewall family inet filter specificroutes term 1 from source-address 192.168.3.0/32
set firewall family inet filter specificroutes term 1 then policer routesspecific
set firewall family inetfilter specificroutes term 1 then accept
set firewall family inet filter specificroutes term 2 then accept

Policer:

set firewall policer routesspecific filter-specific
set firewall policer routesspecific if-exceeding bandwidth-limit 1m
set firewall policer routesspecific if-exceeding burst-size-limit 15K
set firewall policer routesspecific then discard

Interface:

[edit interfaces]
Interface “X” (example: fe-2/2/3) 
                 Unit “X” (example: 601) {
                      encapsulation ethernet;
                      family “X” (example: ipv4) {
                         filter {
                            input “FilterX” (example: filter1); # Works for multicast destination MAC address
                            output “FilterX” (example: filter1); # Does not work for multicast destination MAC address

 

Related

Filed Under: Juniper Tagged With: firewall filter, policer, Policer using firewall filter

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in