Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

show services captive-portal-content-delivery

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services captive-portal-content-delivery 
<pic pic-name>
<profile profile-name> 
<rule rule-name> <term term-name>
<ruleset ruleset-name>
<sset sset-name> <brief> <detail> <summary>
<statistics <interface pic-name>>

Description

Display the current operational state of all captive portal interfaces.

Options

brief

(Optional) Display brief service set database information.

detail

(Optional) Display detailed service set database information.

pic

Display the PIC database.

profile

Display the profile database.

rule

Display the rule database.

ruleset

Display the rule set database.

sset

Display the service set database.

statistics

Display captive portal content delivery statistics about a PIC.

summary

(Optional) Display a summary of service set database information.

term

(Optional) Display term information for the rule database.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show services captive-portal-content-delivery command. Output fields are listed in the approximate order in which they appear.

Table 1: show services captive-portal-content-delivery Output Fields

Field Name

Field Description

Level of Output

Name

Name of the interface.

none

Index

none

Profile

Name of the service profile for the HTTP redirect services that contains the rules or rule sets specifying the service.

none

Rules or Rule Sets

List of rules or rule sets contained in the HTTP redirect service profile.

none

Rule Name

Name of an HTTP redirect service rule.

none

Term Name

Name of a rule term.

none

Rule match direction

Traffic direction on the interface where the rule match is applied, input, output, or input-output.

none

Term action

Action performed on packets when the rule term is matched:

  • Accept the packets.

  • Redirect the packets to a new destination URL.

  • Rewrite the packets with a new destination address and optionally a new destination port.

  • Log information about the packet to a system log file.

none

Term action option

Additional information related to the term action.

  • A new destination URL for a redirect action.

  • A new destination address for a rewrite action.

  • A new destination port for a rewrite action.

none

Service Sets

Name of service sets contained in a profile.

none

Id

Identifier number for a service set.

none

Compiled Rules

none

service-set interface

Interface on which the service set rules are applied.

none

Packets received

Number of packets received on the service-set interface.

none

Packets altered

Number of packets redirected or rewritten on the service-set interface.

none

Packets dropped

Number of packets dropped on the interface.

detail

Received

Number of packets received for the listed action: Redirect, Rewrite, or Insert.

detail

Altered

Number of packets altered by the listed action: Redirect or Rewrite.

detail

Redirected

Number of packets redirected by the Insert action.

detail

Tag-inserted

Number of packets for which one or more tags has been inserted by the Insert action.

detail

Sample Output

show services captive-portal-content-delivery

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery pic si-5/0/0
Name         Index 
si-5/0/0        20                 

show services captive-portal-content-delivery (Profile)

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery profile
Profile         Rules or Rule Sets 
http-redirect   1                  
ipda-rewrite    1                  
                 

show services captive-portal-content-delivery (Profile HTTP Redirect)

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery profile http-redirect
Profile         Rules or Rule Sets 
http-redirect   1                  
                

show services captive-portal-content-delivery ( Profile IPDA Rewrite)

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery profile ipda-rewrite
Profile         Rules or Rule Sets 
ipda-rewrite    1    
                 

show services captive-portal-content-delivery (Rules)

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery rule
Rule Name          Term Name      
redirect           t2             
rewrite            t1                             
                

show services captive-portal-content-delivery (Rewrite Term)

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery rule rewrite term t1
Rule name: rewrite
Rule match direction: input
Term name: t1
Term action: rewrite
Term action option: null            
                 

show services captive-portal-content-delivery (Redirect Term)

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery rule redirect term t2
Rule name: redirect
Rule match direction: input
Term name: t2
Term action: redirect
Term action option: http://www.example.net           
                 

show services captive-portal-content-delivery (Service Set Detail)

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery sset sset1 detail
Service Set        Id       Profile         Compiled Rules 
sset1              1        ipda-rewrite    1                        
                 

show services captive-portal-content-delivery (Interface)

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery statistics interface sis-5/0/0
service-set interface: si-5/0/0

Packets received   Packets altered  
5                     3          
                 

show services captive-portal-content-delivery (Subscriber with Insert Action Detail)

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery statistics interface si-5/0/0 detail
service-set interface: si-5/0/0

Packets dropped:  10

Redirect:
Received   		Altered
0                   0

Rewrite:
Received   		Altered
0                    0 

Insert:
Received   		Redirected    Tag-inserted
2                    1               1
                 

show services captive-portal-content-delivery (Subscriber with Redirect Action Detail)

content_copy zoom_out_map
user@host> show services captive-portal-content-delivery statistics interface si-4/0/0 detail
service-set interface: si-4/0/0

Packets dropped:  10

Redirect:
Received   		Altered
4                   4

Rewrite:
Received   		Altered
0                    0 

Insert:
Received   		Redirected    Tag-inserted
0                    0               0
                 

Release Information

Command introduced in Junos OS Release 10.4.

footer-navigation