then (Captive Portal Content Delivery)
Syntax
then { accept; insert tag-name tag-name tag-value tag-value; redirect url; rewrite destination-address address <destination-port port-number>; syslog; }
Hierarchy Level
[edit dynamic-profiles profile-name services captive-portal-content-delivery rule rule-name term term-name], [edit services captive-portal-content-delivery rule rule-name term term-name]
Description
Define the term actions and any optional action
modifiers for the captive portal content delivery rule. Use the statement
at the [edit services...]
hierarchy level for static CPCD.
Use the statement at the [edit dynamic-profiles profile-name services...]
hierarchy level for converged services CPCD.
Options
action | Actions to accept, redirect, or rewrite packets and all subsequent packets in flows that match the rules.
|
rewrite | Rewrite the packet and all subsequent packets in flows that match the rules. You can optionally configure one or both of the following action modifiers:
|
syslog | Log information about the packet to a system log file. |
action | Actions to accept, redirect, or rewrite packets and all subsequent packets in flows that match the rules. |
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 10.4.
Support at the [edit dynamic-profiles profile-name services captive-portal-content-delivery rule rule-name term term-name]
hierarchy level added in Junos
OS Release 17.2R1.
insert
option added in Junos OS Release 19.1R1.
Support for Next Gen Services introduced in Junos OS Release 19.3R2.