319Use undo portal { ipv4-max-user | ipv6-max-user } to restore the default.Syntaxportal { ipv4-max-user | ipv6-max-user } max-numberundo portal { ipv4-max-user | ipv6-max-user }DefaultThe maximum number of portal users allowed on an interface or a service template is not limited.ViewsInterface viewService template viewPredefined user rolesnetwork-adminParametersmax-number: Specifies the maximum number of portal users allowed on an interface or a servicetemplate, in the range of 1 to 4294967295.Usage guidelinesIf the specified maximum number is smaller than the number of current online portal users on theinterface or service template, the limit can be set successfully. The limit does not impact the onlineportal users. However, the device does not allow new portal users to log in from the interface orservice template until the number drops down below the limit.Make sure the maximum combined number of IPv4 and IPv6 portal users specified on all interfacesor service templates does not exceed the system-allowed maximum number. Otherwise, theexceeding portal users will not be able to log in to the device.Examples# Set the maximum number of IPv4 portal users to 100 on GigabitEthernet 1/0/1. (Wired application). system-view[Sysname] interface gigabitethernet 1/0/1[Sysname-GigabitEthernet1/0/1] portal ipv4-max-user 100# Set the maximum number of IPv4 portal users to 100 on service template service1. (Wirelessapplication.) system-view[Sysname] interface vlan-interface 100[Sysname–Vlan-interface100] portal ipv4-max-user 100Related commandsdisplay portal userportal max-userportal apply mac-trigger-serverUse portal apply mac-trigger-server to specify a MAC binding server.Use undo portal apply mac-trigger-server to restore the default.Syntaxportal apply mac-trigger-server server-nameundo portal apply mac-trigger-server