R3166-R3206-HP High-End Firewalls Access Control Command Reference-6PW101
50
Examples
# Configure a portal-free rule, allowing any packet whose source IP address is 10.10.10.1/24 and source
interface is GigabitEthernet 0/0 to bypass portal authentication.
<Sysname> system-view
[Sysname] portal free-rule 15 source ip 10.10.10.1 mask 24 interface gigabitethernet 0/0
destination ip any
portal max-user
Syntax
portal max-user max-number
undo portal max-user
View
System view
Default level
2: System level
Parameters
max-number: Maximum number of online portal users allowed in the system.
Description
Use the portal max-user command to set the maximum number of online portal users allowed in the
system.
Use the undo portal max-user command to restore the default.
By default, the maximum number of portal users allowed depends on the device model.
If the maximum number of portal users specified in the command is less than that of the current online
portal users, the command can be executed successfully and will not impact the online portal users, but
the system will not allow new portal users to log in until the number drops down below the limit.
Examples
# Set the maximum number of portal users allowed in the system to 100.
<Sysname> system-view
[Sysname] portal max-user 100
portal nas-id
Syntax
portal nas-id nas-identifier
undo portal nas-id
View
Interface view
Default level
2: System level