< Home

mandatory-chap

Function

The mandatory-chap command enables forcible CHAP authentication on the client.

The undo mandatory-chap command disables forcible CHAP authentication.

By default, CHAP re-authentication is not implemented.

Format

mandatory-chap

undo mandatory-chap

Parameters

None

Views

L2TP group view

Default Level

2: Configuration level

Usage Guidelines

If the mandatory-chap command is executed, two authentications are implemented on a client whose tunnel connection is initialized by an access server:

The first authentication on the access server

The second authentication on LNS side

Some PPP clients may not support the second authentication. In this case, CHAP authentication of the local end fails.

Example

# Implement forcible CHAP authentication.

<sysname> system-view
[sysname] l2tp-group 1
[sysname-l2tp-1] mandatory-chap
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >