Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    then

    Syntax

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

    Hierarchy Level

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

    Release Information

    Statement introduced in Junos OS Release 10.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 Rules for JSF.

    Required Privilege Level

    interface—To view this statement in the configuration.

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

    Published: 2012-07-02