358Parametersmax-number: Specifies the maximum number of total portal users in the system. The value range forthis argument is 1 to 4294967295.Usage guidelinesIf you configure the maximum total number smaller than the number of current online portal users onthe device, this command still takes effect. The online users are not affected by this command, butthe system forbids new portal users to log in.This command sets the maximum number of online IPv4 and IPv6 portal users in all.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 online portal users allowed in the system to 100. system-view[Sysname] portal max-user 100Related commandsdisplay portal userportal { ipv4-max-user | ipv6-max-user }portal nas-id profileUse portal nas-id-profile to specify a NAS-ID profile for an interface.Use undo portal nas-id-profile to restore the default.Syntaxportal nas-id-profile profile-nameundo portal nas-id-profileDefaultNo NAS-ID profile is specified for an interface.ViewsInterface viewPredefined user rolesnetwork-adminParametersprofile-name: Specifies the name of a NAS-ID profile, a case-insensitive string of 1 to 31 characters.Usage guidelinesA NAS-ID profile defines the binding relationship between VLANs and NAS-IDs. To configure aNAS-ID profile, use the aaa nas-id profile command.Portal access matches only the inner VLAN ID of QinQ packets. For more information about QinQ,see Layer 2—LAN Switching Configuration Guide.If an interface is specified with a NAS-ID profile, the interface prefers to use the bindings defined inthe profile.If no NAS-ID profile is specified for an interface or no matching binding is found in the specifiedprofile, the device uses the device name as the interface NAS-ID.