captive-portal
Syntax
captive-portal {
authentication-profile-name authentication-profile-name
custom-options {
banner-message string;
footer-bgcolor color;
footer-message string;
footer-text-color color;
form-header-bgcolor color;
form-header-message string;
form-header-text-color color;
form-reset-label label name;
form-submit-label label name;
header-bgcolor color;
header-logo filename;
header-message string;
header-text-color color;
post-authentication-url url-string;
}
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;
}
secure-authentication (http | https);
}
Hierarchy Level
[edit services]
Description
Configure captive portal to authenticate clients connected to the switch for access to the network.
Default
Captive portal is disabled.
Options
| authentication-profile-name access-profile-name | Specify the name of the access profile to be used for captive portal authentication. You configure the access profile at the [edit access profile] hierarchy level. The access profile contains the RADIUS server IP address and other information used for authentication.
|
| secure-authentication (http | https) | Enable HTTP or HTTPS access on the captive portal interface.
|
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.