rule (Captive Portal Content Delivery)
Syntax
rule rule-name { match-direction (input | output | input-output); term term-name { from { destination-address address <except>; } 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], [edit services captive-portal-content-delivery]
Description
Specify the rule the router uses when applying
this service. 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
rule-name—Identifier for the collection of terms that constitute this rule.
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
Required Privilege Level
services—To view this statement in the configuration.
services–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.
Support for Next Gen Services introduced in Junos OS Release 19.3R2.