Configuring an LNS to grant certain L2TP tunneling requests
When receiving a tunneling request, an LNS determines whether to grant the tunneling request by checking whether the tunnel name of the LAC matches the one configured, and determines the VT interface to be used to create the VA interface.
The start l2tp command and the allow l2tp command are mutually exclusive. Configuring one of them automatically disables the other one.
The LAC side tunnel name configured on the LNS must be consistent with the local tunnel name configured on the LAC.
To configure an LNS to grant certain L2TP tunneling requests:
Step | Command | Remarks | |
---|---|---|---|
1. Enter system view. | system-view | N/A | |
2. Enter L2TP group view. | l2tp-group group-number | N/A | |
3. Specify the VT interface for receiving calls, the tunnel name on the LAC, and the domain name. |
| Use either command. By default, an LNS denies all incoming calls. If the L2TP group number is 1, do not specify the LAC side tunnel name. In L2TP group 1, the LNS allows the LAC to initiate a tunneling request by using any tunnel name. |