Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Configure captive portal to authenticate clients connected to the switch for access to the network.


Captive portal is disabled.


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.

  • Default: No access profile is specified.

secure-authentication (http | https)

Enable HTTP or HTTPS access on the captive portal interface.

  • Default: http

  • Values: Specify one of the following:

    • http—Enables HTTP access on the captive portal interface.

    • https—Enables HTTPS access on the captive portal interface. HTTPS is recommended.

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.