Configuring an LNS to accept L2TP tunneling requests from an LAC
When receiving a tunneling request, an LNS performs the following operations:
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 an 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 | |
3. Configure the LNS to accept tunneling requests from an LAC and specify the VT interface to be used for tunnel setup. |
| By default, an LNS denies tunneling requests from any LAC. If the L2TP group number is 1, the remote remote-name option is optional. If you do not specify this option, the LNS accepts tunneling requests from any LAC. |