To implement L2TP dual-device hot backup in load balancing mode, a base value must be set on either of the master and backup routers to ensure unique tunnel IDs on the routers.
An L2TP tunnel ID with an index value starting with 1 is assigned to each router. In a dual-device hot backup scenario for traffic load balancing, tunnel information is backed up from the master router to the backup router, which may cause a tunnel ID conflict. To prevent the conflict, a base value can be specified for one router for tunnel ID generation (Tunnel ID = Base value + Index value starting with 1). The other router uses the default base value 0. This ensures unique tunnel IDs on the routers that back up each other.
Performe the following steps on either of the master and backup routers.
The system view is displayed.
A base value is set for an L2TP tunnel ID.
If a tunnel backed up from the master router to the backup router has the same tunnel ID as the local tunnel on the backup router, the backup router deletes the existing local tunnel information and accepts the received tunnel information.
The set l2tp tunnel base-id base-id command cannot be used on arouter that already has a tunnel ID.
The configuration is committed.