< Home

user max-login-number

Function

The user max-login-number command sets the maximum number of concurrent logins supported by a specified user account of the virtual gateway.

The undo user max-login-number command restores the default setting.

Format

user user-name max-login-number number

undo user user-name max-login-number

Parameters

Parameter Description Value
user-name Specifies the name of a user.

The value is a string of case-insensitive characters. If the login name does not contain any space, its length ranges from 1 to 128. If the login name contains spaces, its length ranges from 3 to 130, and you must enclose the name with double quotation marks ("), for example, "user for test". The name cannot start or end with any spaces.

When a user in a non-default authentication domain is specified, the user name must carry "@authentication-domain-name." For example, user1@test indicates user1 in the test authentication domain.

number Specifies the maximum number of concurrent logins supported by the user account (user-name) of the virtual gateway. The value cannot be greater than the maximum number of concurrent users of the virtual gateway. -

Views

VPN database view

Default Level

2: Configuration level

Usage Guidelines

By default, the maximum number of concurrent logins supported by a specified user account of the virtual gateway is the default maximum number of concurrent logins supported by each user account of the virtual gateway.

Example

# Set the maximum number of concurrent logins supported by user account robin of virtual gateway to 100.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] vpndb
[sysname-gateway-vpndb] user robin  max-login-number 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >