[an error occurred while processing this directive][an error occurred while processing this directive]

then

Syntax

then {(accept | discard | reject);syslog;}

Hierarchy Level

[edit services stateful-firewall rule rule-name term term-name]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Define the stateful firewall term actions. You can configure the router to accept, discard, or reject the targeted traffic. The other actions are optional.

Options

accept—Accept the traffic and send it on to its destination.

discard—Do not accept traffic or process it further.

reject—Do not accept the traffic and return a rejection message. Rejected traffic can be logged or sampled.

The remaining statement is explained separately.

Usage Guidelines

See Configuring Actions in Stateful Firewall Rules.

Required Privilege Level

interface—To view this statement in the configuration.

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


Published: 2010-04-28

[an error occurred while processing this directive]