![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 1196](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_1694531196.webp)
11.7.2 (Optional) Setting a Base Value for L2TP Tunnel IDs
The master and slave routers carry out L2TP two-node hot backup in load balancing mode. A
based value can be set on either of router for allocating L2TP tunnel IDs. This setting ensures
to a certain extent that tunnel IDs are unique on each router.
Context
The router assigns an integer value as an L2TP tunnel ID and the ID starts with 1. In the two-
node 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 (Tunnel ID = Base value + Index starting with 1). The other router uses the
default base value of 0. The settings ensure to a certain extent that each tunnel ID is unique on
a single router.
Perform the following steps on either of the master and slave routers:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
set l2tp tunnel base-id
base-id
A base value for L2TP tunnel IDs is set.
NOTE
l
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.
l
The
set l2tp tunnel base-id
base-id
command cannot be used on the router that has established L2TP
tunnels and allocated tunnel IDs.
----End
11.7.3 Configuring an L2TP Tunnel
An L2TP tunnel can be used to provide access services for enterprises, small ISPs, and the staff
on business trips over a public network.
Context
For details, see L2TP Protocol Configuration in the
HUAWEI NetEngine80E/40E Router
Configuration Guide - User Access
.
NOTE
The preference of the route from the LNS to the master LAC is higher than that of the route from the LNS
to the backup LAC. The LNS will switch traffic to the route destined for the backup LAC only when a
fault occurs on the network side of the master LAC.
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
11 Multi-node Backup Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1179