services (Captive Portal Content Delivery)
Syntax
services { ... captive-portal-content-delivery { auto-deactivate value; profile name cpcd-rule-sets rule-set-name; cpcd-rules rule-name; dynamic; http-redirect-options url; ipda-rewrite-options { destination-address destination-address; destination-port destination-port; } } rule rule-name { match-direction (input | output | input-output); from { destination-address address <except>; } term term-name { then { accept; insert tag tag-name tag-value tag-value; redirect url; rewrite destination-address address <destination-port port-number>; syslog; } } } rule-set rule-set-name { [rule rule-name]; } traceoptions { file <filename> <files files> <match match> <size size> <(world-readable | no-world-readable)>; flag name; no-remote-trace no-remote-trace; } } }
Hierarchy Level
[edit], [edit dynamic-profiles profile-name]
Description
Define the captive portal content delivery set of the rules statements to be applied to traffic. Supports converged CPCD services.
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.
The profile
, rule-set
, and traceoptions
stanzas are not supported at the [edit dynamic-profiles profile-name hierarchy level]
.
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
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Command introduced in Juniper BNG CUPS Release 23.1R1.