then (Stateful Firewall Rule Next Gen Services)
Syntax
then { count; deny; permit; reject; }
Hierarchy Level
[edit services policies stateful-firewall-rule rule-name policy policy-name]
Description
Specify the actions for a stateful firewall rule policy. The policy actions are applied to flows that meet the policy’s matching properties.
Options
count | Enables a count, in bytes or kilobytes, of all network traffic the policy allows to pass. |
deny | Drop the packets. |
permit | Accept the packets and send them to their destination. |
reject | Drop the packets.
For TCP traffic, send a TCP reset (RST) segment to the source host.
For UDP traffic, send an ICMP |
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.