Configuration Guide WEB Authentication Configuration
By default, the maximum number of HTTP sessions to be initiated by an unauthenticated user is 255. To
change the maximum number of HTTP sessions to be initiated by an unauthenticated user, perform the
following steps.
Set session-num to be the maximum number of global HTTP
sessions of each unauthenticated user, with the value scope
being 1-255.
Set port-session-num to be the maximum number of port HTTP
sessions of each unauthenticated user, with the value scope
being 1-65535, it is 1000 by default.
To restore the default maximum number of HTTP sessions to be initiated by an unauthenticated user,
execute āno http redirect session-limitā under the global configuration mode.
Example:
# Set the maximum number of HTTP sessions of unauthenticated user to 10.
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# http redirect session-limit 10
Ruijie(config)# show http redirect
If you see no authentication page during authentication, it is very likely that the HTTP
sessions imitated by the user has reached maximum number. In this case, you are
recommended to temporarily quit some applications which may take up HTTP sessions and
then perform the Web authentication.
Configuring Timeout for Maintaining Redirection Connection
When an unauthenticated user accesses the network resources via HTTP, the TCP connection requests
will be intercepted and the TCP connection is established with the access device in fact. After the
connection has been established, the access device has to wait for the HTTP GET/HEAD messages sent
by the user, and sends back the HTTP redirection messages before the connection is cut. This restriction
is set to avoid the case in which the user sends no GET/HEAD messages but takes up the TCP
connection for a long time. This functionality can prevent some malicious attacks.
By default, the timeout for maintaining redirection connection is 3 seconds. To change the timeout for
maintaining redirection connection, perform the following steps.