set l2tp tunnel base-id

Function

The set l2tp tunnel base-id command sets a base value that the Router uses to allocate L2TP tunnel IDs.

By default, a base value is not set for the router to allocate L2TP tunnel IDs.

This command is supported only on the NetEngine 8000 F1A.

Format

set l2tp tunnel base-id base-id

Parameters

Parameter Description Value
base-id

Specifies the base ID for allocating L2TP tunnel IDs.

The value can be 0, 16384, 32768, or 49152.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tp execute

Usage Guidelines

Usage Scenario

The Router assigns an integer value as an L2TP tunnel ID and the ID starts with 1. In the dual-system hot backup load balancing scenario, tunnel information is backed up between the master and slave Routers. During backup, identical tunnel IDs may exist on a single Router. The set l2tp tunnel base-id <base-id> command can be used to specify a base value that one Router uses to allocate tunnel IDs.

Configuration Impact

If a tunnel ID carried in backup information is the same as a local tunnel ID, the Router deletes the existing local tunnel information and accepts the backup tunnel information.

Precautions

In VS mode, this command is supported only by the admin VS.

The set l2tp tunnel base-id <base-id> command cannot be used on the Router that has established L2TP tunnels and allocated tunnel IDs.

Example

# Set the base value that the Router uses to allocate L2TP tunnel IDs to 16384.
<HUAWEI> system-view
[~HUAWEI] set l2tp tunnel base-id 16384
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >