Configuration Guide WEB Authentication Configuration
Ruijie(config)# web-auth portal eportalv2
Ruijie(config)# exit
The version to be configured depends on the Portal Server deployed in the actual network.
Enabling Web Authentication
For switches, web authentication is based on ports. By default, web authentication is disabled on the port,
and users connected to this port are not authenticated.
Perform the following steps to enable web authentication on the port and configure the port as the control
port of web authentication.
Ruijie# configure terminal
Enter global configuration mode.
Ruijie(config)# interface
interface-name
Enter interface configuration mode.
Ruijie(wlansec)# web-auth
port-control [ip-only-mode]
Enable web authentication on the port.
ip-only-mode: (optional) by default, after the user passes the
web authentication, its IP address and MAC address are
bound with the port. When the physical interface is downlinked
with layer-3 device, you need to use this parameter to bind
user’s IP address with the port after passing the authentication
in case that a MAC address is associated with multiple IP
addresses. In switchover mode, all online users under this
physical interface are forced to log out and be reauthenticated.
Ruijie(config)# show web-auth
port-control
View the web authentication configuration on the port.
To disable the web authentication for a specific WLAN, execute the no webauth command in interface
configuration mode.
# Enable web authentication on FastEthernet 0/14.
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# interface FastEthernet 0/14
Ruijie(config-if-FastEthernet 0/14)# web-auth port-control
Ruijie(config-if-FastEthernet 0/14)# show web-auth port-control