< Home

max-connection

Function

The max-connection command sets the maximum number of connections on a virtual server.

The undo max-connection command cancels the setting of the maximum number of connections on a virtual server and restores the default value (0).

Format

max-connection max-connections-value

undo max-connection

Parameters

Parameter Description Value
max-connections-value Specifies the maximum number of connections on a real server. The value is an integer ranging from 1 to 4294967295.

Views

Virtual server view

Default Level

2: Configuration level

Usage Guidelines

By default, the maximum number of connections on a real server is 0 with no limit.

Example

# Set the maximum number of concurrent connections on a virtual server to 10000.

<sysname> system-view
[sysname] slb
[sysname-slb] vserver 0 a
[sysname-slb-vserver-0] max-connection 10000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >