tunnel session-limit

Function

The tunnel session-limit command sets the maximum number of sessions for a tunnel.

The undo tunnel session-limit command restores the default value of the maximum number of sessions.

By default, the maximum number of sessions is 65535.

This command is supported only on the NetEngine 8000 F1A.

Format

tunnel session-limit max-session-number

undo tunnel session-limit

Parameters

Parameter Description Value
max-session-number

Specifies the maximum number of sessions.

The value is an integer that ranges from 0 to 65535.

Views

L2TP group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tp write

Usage Guidelines

The maximum number of sessions that users can access is determined by the relevant license. By specifying the maximum number of sessions for each tunnel, carriers can perform network deployment.

If the sessions for a tunnel reach the limit configured using the tunnel session-limit command in the L2TP group view, users cannot go online, and tunnels cannot be established. To allow users to continue going online through tunnels, you can run the tunnel load-sharing command in the L2TP group view to enable load balancing among tunnels.

Example

# Set the maximum number of sessions for a tunnel to 100.
<HUAWEI> system-view
[~HUAWEI] l2tp-group huawei
[~HUAWEI-l2tp-huawei] tunnel session-limit 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >