Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

policy (Stateful Firewall Rules Next Gen Services)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
policy policy-name {
    match {
        application [application-name];
        destination-address (address | any);
        destination-address-excluded address;
        source-address (address | any);
        source-address-excluded address;
    }
    then {
        count;
        deny;
        permit;
        reject;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit services policies stateful-firewall-rule rule-name]

Description

Configure one or more policies in a stateful firewall rule. Each policy identifies the matching conditions for a flow, and whether or not to allow the flow. Once a policy in the rule matches a flow, that policy is applied and no other policies in the rule are processed.

Options

policy-name

Name of the policy.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 19.3R2.

footer-navigation