37
Examples
# Specify the private IPv4 address type for users in ISP domain
test
.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] user-address-type private-ipv4
Related commands
display domain
Local user commands
access-limit
Use
access-limit
to set the maximum number of concurrent logins using the local user name.
Use
undo
access-limit
to restore the default.
Syntax
access-limit max-user-number
undo access-limit
Default
The number of concurrent logins using the local user name is not limited.
Views
Local user view
Predefined user roles
network-admin
mdc-admin
Parameters
max-user-number
: Specifies the maximum number of concurrent logins, in the range of 1 to 1024.
Usage guidelines
This command takes effect only when local accounting is configured for the local user. The
command does not apply to FTP, SFTP, or SCP users. These users do not support accounting.
For this command to take effect on network access users, you also need to execute the
accounting
start-fail offline
command in the ISP domain view.
Examples
# Set the maximum number of concurrent logins to 5 for users using the local user name
abc
.
<Sysname> system-view
[Sysname] local-user abc
[Sysname-luser-manage-abc] access-limit 5
Related commands
accounting start-fail offline
display local-user