Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

JET Firewall Application

 Note

This example will not work on the SRX-Series platforms. SRX does not support JET firewall functions.

SampleFirewallApp.py illustrates the following functions of the firewall IDL:

  1. Creates a firewall filter

  2. Binds the filter to an interface

  3. Unbinds the filter from an interface

  4. Deletes the firewall filter

The application uses the device IP and the interface on which the firewall filter has to be bound as the inputs.

The application must be configured as shown in the example using:

set system extensions extension-service application file sampleFirewallApp.py arguments "-d 10.221.138.41 -ifl ge-0/0/0"

Where 10.221.138.41 is the IP of the device and ge-0/0/0 is the interface where the filter is created.