Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring VPLS Policers

This example shows how to configure VPLS policers.

Requirements

Before you begin:

Overview

This example describes how to configure policing and apply it on the interface for VPLS.

Caution: MPLS is disabled by default on SRX Series devices. You must explicitly configure your device to allow MPLS traffic. However, when MPLS is enabled, all flow-based security features are deactivated and the device performs packet-based processing. Flow-based services such as security policies, zones, NAT, ALGs, chassis clustering, screens, firewall authentication, and IPsec VPNs are unavailable on the device.

Configuration

CLI Quick Configuration

To quickly configure VPLS policers, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

set firewall policer police2 if-exceeding bandwidth-percent 10set firewall policer police2 if-exceeding burst-size-limit 1500set firewall policer police2 then discardset interfaces ge-0/0/1 unit 512 family vpls policer input police2

Step-by-Step Procedure

To configure filters for VPLS:

  1. Configure bandwidth percentage.
    [edit ]user@host# set firewall policer police2 if-exceeding bandwidth-percent 10
  2. Configure the burst size limit.
    [edit ]user@host# set firewall policer police2 if-exceeding burst-size-limit 1500
  3. Configure the terminal action on the packet.
    [edit ]user@host# set firewall policer police2 then discard
  4. Apply the policer to the interface.
    [edit ]user@host# set interfaces ge-0/0/1 unit 512 family vpls policer input police2
  5. If you are done configuring the device, commit the configuration.
    [edit ]user@host# commit

Verification

To verify the configuration is working properly, enter the show firewall command.

Modified: 2014-04-29