Configuring L2TP tunnel authentication

You can enable tunnel authentication to allow the LAC and LNS to authenticate each other. Either the LAC or the LNS can initiate a tunnel authentication request. To implement tunnel authentication, enable tunnel authentication on both the LAC and LNS, and configure the same non-null key on them.

To ensure tunnel security, enable tunnel authentication.

To change the tunnel authentication key, do so after tearing down the tunnel. Otherwise, your change does not take effect.

To configure L2TP tunnel authentication:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter L2TP group view.

l2tp-group group-number

N/A

3. Enable L2TP tunnel authentication.

tunnel authentication

Optional.

Enabled by default.

4. Configure the tunnel authentication key.

tunnel password { cipher | simple } password

The key is null by default.