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 before Junos OS 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: 2013-02-15