Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


captive-portal (MX Series in Enhanced LAN Mode)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 14.2 for MX240, MX480, and MX960 routers in enhanced LAN mode.


Specify whether captive portal authentication needs to be enabled or disabled. You can set up captive portal authentication (hereafter referred to as captive portal) on a switch to redirect Web browser requests to a login page that requires the user to input a username and password. Upon successful authentication, the user is allowed to continue with the original page request and subsequent access to the network.


Not enabled


captive-portalEnable captive portal authentication.
no-captive-portalDisable captive portal authentication.

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.