show captive-portal interface
Syntax
Release Information
Command introduced in Junos OS Release 10.1 for EX Series switches.
Description
Display the current operational state of all captive portal interfaces with the list of connected users and the configured values of captive portal attributes on the interfaces.
Options
- none
Display all captive portal interfaces.
- interface-name
(Optional) Display the state for the specified captive portal interface and lists the MAC address and user names of any clients authenticated on the interface.
- interface-name detail
(Optional) Displays the configured values of captive portal attributes on the specified captive portal interface.
Required Privilege Level
view
Related Topics
List of Sample Output
show captive-portal interfaceshow captive-portal interface detail
Output Fields
Table 1 lists the output fields for the show captive-portal interface command. Output fields are listed in the approximate order in which they appear.
Table 1: show captive-portal interface Output Fields
Field Name | Field Description | Level of Output |
|---|---|---|
Interface | Interface on which captive portal has been configured. | All levels |
State | The state of the interface:
| All levels |
MAC address | The MAC address of the connected client on the interface.. | brief |
User | Users connected to the captive portal interface. | brief |
Supplicant mode | Mode used to authenticate clients—multiple, single, or single-supplicant. | detail |
Number of retries | Number of times the user can attempt to submit authentication information. | detail |
Quiet period | Time, in seconds, after a user exceeds the maximum number of retries before they can attempt to authenticate. | detail |
Configured CP session timeout | Time, in seconds, that a client can be idle before the session expires. | detail |
Server timeout | Time, in seconds, that an interface will wait for a reply when relaying a response from the client to the authentication server before timing out and invoking the server-fail action. | detail |
Number of connected supplicants | Number of users connecting through the captive portal interface. Information for each user includes:
| detail |
Sample Output
show captive-portal interface
user@switch> show captive-portal interface Captive Portal Information: Interface State MAC address User ge-0/0/1.0 Connecting ge-0/0/10.0 Connecting 00:30:48:8c:66:bd No User
show captive-portal interface detail
user@switch> show captive-portal interface detailge-0/0/1.0
Supplicant mode: Multiple
Number of retries: 10
Quiet period: 60 seconds
Configured CP session timeout: 3600 seconds
Server timeout: 15 seconds
Number of connected supplicants: 0
ge-0/0/10.0
Supplicant mode: Multiple
Number of retries: 10
Quiet period: 60 seconds
Configured CP session timeout: 3600 seconds
Server timeout: 15 seconds
Number of connected supplicants: 1
Supplicant: No User, 00:30:48:8c:66:bd
Operational state: Connecting
Dynamic CP Session Timeout: 0 seconds
CP Session Expiration due in: 0 seconds
