Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

captive-portal-content-delivery (Captive Portal Content Delivery)

Syntax

Hierarchy Level

Description

Configure the HTTP redirect service by specifying the location to which a subscriber's initial Web browser session is redirected, enabling initial provisioning and service selection for the subscriber. 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].

Options

auto-deactivate value

(Optional) Specify one of the following values to determine whether the redirect service is removed automatically when the router receives the subscriber’s initial HTTP-GET message:

  • user-defined-variable—To use this option in a dynamic profile, you must create a user-defined variable with a name of your choice. The value of the variable can be supplied by the RADIUS server or PCRF. You can also define a default value that is used when the external servers do not supply it. Use the variables statement in the dynamic profile to define the default value. Whether supplied by the external server or by the CLI, the value must be either initial-get or never.

  • initial-get—Receipt of the subscriber’s initial HTTP-GET message triggers removal of the redirect service.

  • never—Removal of the redirect service is triggered only by the external server, such as by a CoA message from a RADIUS server.

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] hierarchy level added in Junos OS Release 17.2R1.

Support for Next Gen Services introduced in Junos OS Release 19.3R2.

auto-deactivate option added in Junos OS Release 19.4R1.