mandatory-chap

Function

The mandatory-chap command conducts the mandatory CHAP re-authentication between the LNS and the client.

The undo mandatory-chap command deletes the mandatory CHAP re-authentication.

By default, the LNS conducts proxy authentication on users.

This command is supported only on the NetEngine 8000 F1A.

Format

mandatory-chap

undo mandatory-chap

Parameters

None

Views

L2TP group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tp write

Usage Guidelines

Generally, the L2TP users are authenticated on the LAC, and the LNS does not need to authenticate the L2TP users. If the LNS does not trust the LAC, the LNS can re-authenticate the users after they are connected to the LNS.

The LNS can authenticate a user twice. The first authentication is performed on the LAC and the second authentication is performed on the LNS. Note that "none" is also an authentication mode.

On the LNS, the user can be authenticated in proxy mode, forcible CHAP mode, or forcible LCP renegotiation mode. The mandatory-chap command configures forcible CHAP re-authentication; the mandatory-lcp command configures LCP renegotiation.

Proxy authentication refers to that the LAC sends all information about a user and the locally-configured authentication mode to the LNS, and then the LNS authenticates a user based on received information.

If the LCP renegotiation and forcible CHAP authentication are not configured, the LNS authenticates the user information through proxy.

Proxy authentication refers to that the LAC sends all information about a user and the locally-configured authentication mode to the LNS, and then the LNS authenticates a user based on received information.

After the mandatory-chap command is configured on the LNS, if the authentication mode between the LAC and client is not CHAP, the LNS uses the authentication mode configured in the VT template to renegotiate the authentication mode with the client.

Example

# Conduct the mandatory CHAP re-authentication between the LNS and the client.
<HUAWEI> system-view
[~HUAWEI] l2tp-group huawei
[*HUAWEI-l2tp-huawei] mandatory-chap
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >