Procedure
l Run the debugging l2tp all command in the user view to enable complete L2TP debugging.
l Run the debugging l2tp control command in the user view to enable control packet
debugging.
l Run the debugging l2tp dump command in the user view to enable PPP packet debugging.
l Run the debugging l2tp error command in the user view to enable L2TP error debugging.
l Run the debugging l2tp event command in the user view to enable L2TP event debugging.
l Run the debugging l2tp hidden command in the user view to enable hidden AVP
debugging.
l Run the debugging l2tp payload command in the user view to enable L2TP packet
debugging.
l Run the debugging l2tp timestamp command in the user view to enable L2TP time stamp
debugging.
----End
4.7 Configuration Examples
This section provides L2TP configuration examples.
4.7.1 Example for Configuring NAS-Initialized VPNs (Domain
Name Access)
This section provides an example for configuring a NAS-initialized VPN with users accessing
the network through domain names, and the user name and password being authenticated locally
on the LAC and LNS.
Networking Requirements
As shown in Figure 4-4, PC1 connects the Public Switched Telephone Network (PSTN) through
a Modem; and then connects the LAC, namely, Router A, across the PSTN. PC2 connects Router
A through a tunnel. The LAC and the LNS are connected through the Internet. The LAC and
the LNS communicate with each other through a tunnel. Users access the tunnel by using domain
names. On both the LAC and the LNS, the user name and the password are authenticated locally.
NOTE
When the AR1200 communicates with a non-Huawei device, configure the AR1200 to invert clock signals
transmitted by a synchronous serial interface as required.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN 4 L2TP Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
267