[Contents][Prev][Next][Index][Report an Error]

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 Stateful Firewall Actions.

Required Privilege Level

interface—To view this statement in the configuration.

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

Related Topics

JUNOS Policy Framework Configuration Guide


[Contents][Prev][Next][Index][Report an Error]