R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)
68
Step Command Remarks
10. (Optional.) Restore the default
settings for the interface.
default N/A
11. (Optional.) Bring up the
interface.
undo shutdown By default, an interface is up.
Configuring an LNS
An LNS responds to the tunneling requests from an LAC, authenticates users, and assigns IP addresses to
users.
Creating a VT interface
After an L2TP session is established, a virtual access (VA) interface is needed for data exchange with the
peer. The system will dynamically create VA interfaces based on the parameters of the virtual template
(VT) interface. To configure an LNS, first create a VT interface and configure parameters for it. These
parameters include the following:
• Interface IP address.
• Authentication mode for PPP users.
• IP addresses allocated by the LNS to PPP users.
For information about configuring VT interfaces, see "Configuring PPP and MP" and Layer 3—IP Services
Configuration Guide.
Configuring an LNS to accept L2TP tunneling requests from a
specified LAC
When receiving a tunneling request, an LNS does the following:
• Determines whether to accept the tunneling request by checking whether the name of the tunnel
peer (LAC) matches the one configured.
• Determines the VT interface to be used for creating the VA interface.
To configure an LNS to accept L2TP tunneling requests from a specified LAC:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter L2TP group view in LNS
mode.
l2tp-group group-number [ mode
lns ]
N/A