Displaying and maintaining l2tp, L2tp configuration examples, Network requirements – H3C Technologies H3C SecPath F5020 User Manual
Page 48: Configuration procedure
40
Step Command
Remarks
2.
Configure the TSA ID of the
LTS device and enable L2TP
loop detection on the LTS
device.
l2tp tsa-id tsa-id
By default, the TSA ID of the LTS
device is not configured, and L2TP
loop detection is disabled on the
LTS device.
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 [ interface-number ] ] [ brief
[ description | down ] ]
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
, 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 14 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.
[LAC] local-user vpdnuser class network
[LAC-luser-network-vpdnuser] password simple Hello
[LAC-luser-network-vpdnuser] service-type ppp
[LAC-luser-network-vpdnuser] quit