Step
1.
Enter system view.
2.
Set the TSA ID of the LTS
and
enable
detection on the LTS.
Displaying and maintaining L2TP
Execute display commands in any view and reset commands in user view.
Task
Display L2TP tunnel information.
Display L2TP session information.
Display information about temporary L2TP
sessions.
Display information about virtual PPP interfaces.
Display information about L2TP VA pools.
Disconnect an L2TP tunnel.
Clear the statistics for virtual PPP interfaces.
L2TP configuration examples
Configuration example for NAS-initiated L2TP tunnel
Network requirements
As shown in
Set up an L2TP tunnel between the LAC and LNS to allow the PPP user to access the corporate
network.
Figure 30 Network diagram
Remote host
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.
<LAC> system-view
[LAC] local-user vpdnuser class network
[LAC-luser-network-vpdnuser] password simple Hello
Command
system-view
L2TP
loop
l2tp tsa-id tsa-id
Figure
30, a PPP user is connected to an LNS through an LAC.
Async2/1/0
1.1.1.1/24
PSTN/ISDN
LAC
Command
display l2tp tunnel [ statistics ]
display l2tp session [ statistics ]
display l2tp session temporary
display interface [ virtual-ppp [ interface-number ] ]
[ brief [ description | down ] ]
display l2tp va-pool
reset l2tp tunnel { id tunnel-id | name remote-name }
reset
counters
[ interface-number ] ]
GE1/0/1
GE1/0/1
1.1.2.1/24
1.1.2.2/24
Internet
L2TP tunnel
85
Remarks
N/A
By default, the TSA ID of the LTS
is not configured, and L2TP loop
detection is disabled on the LTS.
interface
[
Corporate
network
LNS
virtual-ppp
Need help?
Do you have a question about the FlexNetwork MSR series and is the answer not in the manual?