HP MSR2000/3000/4000 Router Series Layer 2 - WAN Configuration Guide
49
Ste
p
Command
Remarks
3. Configure the VPN to
which the tunnel peer
belongs.
vpn-instance vpn-instance-name
By default, a tunnel peer belongs
to the public network.
The physical port connecting to the
tunnel peer and the tunnel peer
should belong to the same VPN.
The VPN to which this physical
port belongs is configured by
using the ip binding vpn-instance
command.
Displaying and maintaining L2TP
Execute display commands in any view and reset commands in user view.
Task Command
Display L2TP tunnel information. display l2tp tunnel [ statistics ]
Display L2TP session information. display l2tp session [ statistics ]
Display information about virtual PPP interfaces.
display interface [ virtual-ppp ] [ brief [ down ] ]
display interface [ virtual-ppp [ interface-number ] ] [ brief
[ description ] ]
Disconnect a specified L2TP tunnel. reset l2tp tunnel { id tunnel-id | name remote-name }
Clear the statistics for virtual PPP interfaces. reset counters interface [ virtual-ppp [ interface-number ] ]
L2TP configuration examples
Configuration example for NAS-initiated L2TP tunnel
Network requirements
As shown in Figure 23, a PPP user is connected to an LNS through an LAC.
Set up an L2TP tunnel between the LAC and LNS to allow the PPP user to access the corporate network.
Figure 23 Network diagram
Configuration procedure
1. Configure the LAC:
# Configure IP addresses for the interfaces. (Details not shown.)
# Create a local user named vpdnuser, set the password, and enable the PPP service.
PSTN/ISDN
Internet
Corporate
network
L2TP tunnel
Async1/0
1.1.1.1/24
Eth1/1
1.1.2.1/24
Eth1/1
1.1.2.2/24
LNSLAC
Remote host