Setting the maximum number of portal users
About setting the maximum number of portal users
Perform this task to control the total number of portal users in the system, and the maximum number of IPv4 or IPv6 portal users on an interface.
Restrictions and guidelines for setting the maximum number of portal users
Make sure the maximum combined number of IPv4 and IPv6 portal users specified on all interfaces does not exceed the system-allowed maximum number. Otherwise, the exceeding number of portal users will not be able to log in to the device.
Setting the global maximum number of portal users
Enter system view.
system-view
Set the global maximum number of portal users.
portal max-user max-number
By default, no limit is set on the global number of portal users.
If you set the global maximum number smaller than the number of current online portal users on the device, this configuration still takes effect. The online users are not affected but the system forbids new portal users to log in.
Setting the maximum number of portal users on an interface
Enter system view.
system-view
Enter Layer 3 interface view.
interface interface-type interface-number
Set the maximum number of portal users.
portal { ipv4-max-user | ipv6-max-user } max-number
By default, no limit is set on the number of portal users on an interface.
If you set the maximum number smaller than the current number of portal users on an interface, this configuration still takes effect. The online users are not affected but the system forbids new portal users to log in from the interface.