access-limit

Function

The access-limit command sets the maximum number of users in the current domain that are allowed to access the system. When the number of access users reaches the limit, the system denies any new access request.

The undo access-limit command restores the default setting.

By default, no upper limit is set for access users.

Format

access-limit access-limit-number

undo access-limit

Parameters

Parameter Description Value
access-limit-number

Specifies the maximum number of users allowed to access the system, which is the sum of the maximum number of management users and the maximum number of common users.

Access users are classified into the following types based on the access mode:

Administrative users: access the system using Telnet, FTP, terminal, or SSH.

Common users.

The value is an integer ranging from 0 to 2147483647.

The value is an integer ranging from 0 to 118272.

Views

AAA domain view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa write

Usage Guidelines

Usage Scenario

To facilitate the user access management, run the access-limit command to set the maximum number of users that are allowed to access the system.

Configuration Impact

After the access-limit command is used, when the number of users accessing the system exceeds the limit, the system denies any new access request and prompts user authentication failures.

Precautions

The access-limit command is used to restrict the number of users that are allowed to access the system in a domain, regardless of the access user type.

Example

# Set the maximum number of users that are allowed to access the system to 100.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain huawei
[*HUAWEI-aaa-domain-huawei] access-limit 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >