interface (Captive Portal)
Syntax
interface (all | [interface-names]) { quiet-period seconds; retries number-of-retries; server-timeout seconds; session-expiry seconds; supplicant ( multiple | single | single-secure); user-keepalive minutes; }
Hierarchy Level
[edit services captive-portal]
Description
Configure captive portal authentication for all interfaces or for specific interfaces.
Options
all | All interfaces to be configured for captive portal authentication. |
[interface-names] | List of names of interfaces to be configured for captive portal authentication. |
quiet-period seconds | Configure time, in seconds, after a user exceeds the maximum number of retries before they can attempt to authenticate.
|
retries number-of-tries | Configure the number of times the user can attempt to submit authentication information.
|
server-timeout seconds | Configure the time in seconds 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.
|
session-expiry seconds | Configure the number of seconds before the captive portal authentication session times out and the client must reattempt authentication. Note:
If the authentication server sends an authentication session
timeout to the client, this takes priority over the value configured
locally using the
|
supplicant (multiple | single | single-secure) | Configure the MAC-based method used to authenticate clients for captive portal authentication.
|
user-keepalive minutes | Extend a captive portal authentication session after the MAC table aging timer expires, by the configured number of minutes. The keep-alive timer is started when the MAC address of the authenticated host ages out of the Ethernet switching table. If traffic is received within the keep-alive timeout period, the timer is deleted. If there is no traffic within the keep-alive timeout period, the session is deleted, and the host must re-authenticate.
|
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
routing—To view this statement in the configuration.
routing–control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 10.1.
user-keepalive
introduced in Junos OS Release 16.1
for EX Series switches.