Configuring basic L2TP capabilities

Basic L2TP capability configuration includes the following tasks:

To configure basic L2TP capabilities:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable L2TP.

l2tp enable

By default, L2TP is disabled.

3. Create an L2TP group, specify its mode, and enter its view.

l2tp-group group-number mode { lac | lns }

By default, no L2TP group is created.

Specify the mode as lac on the LAC side and as lns on the LNS side.

4. Specify the local tunnel name.

tunnel name name

Optional.

By default, the device name is used.