access-limit enable

Syntax

access-limit enable max-user-number

undo access-limit enable

View

ISP domain view

Default level

2: System level

Parameters

max-user-number: Maximum number of online users that the ISP domain can accommodate, in the range of 1 to 2147483646.

Description

Use access-limit enable to set the maximum number of online users in an ISP domain. After the number of online users reaches the allowed maximum number, no more users are accepted.

Use undo access-limit enable to restore the default.

By default, there is no limit to the number of online users in an ISP domain.

System resources are limited, and user connections may compete for network resources when there are many users. Setting a proper limit to the number of online users helps provide reliable system performance.

Related commands: display domain.

Examples

# Set a limit of 500 user connections for ISP domain test.

<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] access-limit enable 500