R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
91
tunnel authentication
Use tunnel authentication to enable the L2TP tunnel authentication function.
Use undo tunnel authentication to disable the L2TP tunnel authentication function.
Syntax
tunnel authentication
undo tunnel authentication
Default
L2TP tunnel authentication is enabled.
Views
L2TP group view
Predefined user roles
network-admin
Usage guidelines
Tunnel authentication prevents the local end from establishing L2TP tunnels with illegal remote ends.
To successfully establish a tunnel when the LAC (or LNS) is enabled with tunnel authentication, do the
following:
• Enable tunnel authentication on the peer.
• Configure the same non-null key (by using the tunnel password command) on the LAC (or LNS) and
the peer.
Examples
# Enable L2TP tunnel authentication.
<Sysname> system-view
[Sysname] l2tp-group 1 mode lns
[Sysname-l2tp1] tunnel authentication
tunnel avp-hidden
Use tunnel avp-hidden to enable transferring AVP data in hidden mode.
Use undo tunnel avp-hidden to restore the default.
Syntax
tunnel avp-hidden
undo tunnel avp-hidden
Default
AVP data is transferred over the tunnel in plaintext mode.
Views
L2TP group view
Predefined user roles
network-admin