Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

then (Captive Portal Content Delivery)

Syntax

Hierarchy Level

Description

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

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 following action modifier:

    • url— URL destination for the redirected packet. The URL must begin with http:// or https://.

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:

  • destination-address address—Destination address for the rewritten packet.

  • destination-port port-number—(Optional) Destination port for the rewritten packet.

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

Command introduced in Juniper BNG CUPS Release 23.1R1.