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
     

    Related Documentation

     

    then

    Syntax

    then { action; <action-modifiers>;}

    Hierarchy Level

    [edit services (captive-portal-content-delivery) captive-portal-content-delivery rule rule-name term term-name]

    Release Information

    Statement introduced in Junos OS Release 10.4.

    Description

    Define the captive-portal-content-delivery term actions and any optional action modifiers.

    Options

    action

    Actions to accept, redirect, or rewrite packets and all subsequent packets in flows that match the rules.

    • accept—Accept the packets and all subsequent packets in flows that match the rules.
    • redirect—Redirect the packet and all subsequent packets in flows that match the rules. You can optionally configure the url action modifier.
    • rewrite— Rewrite the packet and all subsequent packets in flows that match the rules. You can optionally configure the destination-address and destination-port action modifiers.
    • syslog— System log information about the packet.
    action-modifiers (Optional)

    Additional actions to accept, redirect, or rewrite packets and all subsequent packets in flows that match the rules.

    • destination-address —(Optional) Destination address of the rewrite packet.
    • destination-port —(Optional) Destination address and destination port of the rewrite packet.
    • url—(Optional) URL of the redirect packet.

    Required Privilege Level

    interface—To view this statement in the configuration.

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

     

    Related Documentation

     

    Published: 2013-02-11