< Home

ppp authentication-mode

Function

The ppp authentication-mode command sets the local PPP authentication mode for the peer device.

The undo ppp authentication-mode command removes the authentication.

Format

ppp authentication-mode { chap | eap | pap } *

undo ppp authentication-mode

Parameters

Parameter Description Value

eap

Indicates EAP authentication. The device does not support local EAP authentication and needs to interwork with the RADIUS server to implement EAP authentication.

NOTE:

This parameter can only be configured in the VT interface view.

-

chap

Indicates CHAP authentication.

-

pap

Indicates PAP authentication.

-

Views

VT interface view, Dialer interface view

Default Level

2: Configuration level

Usage Guidelines

By default, no authentication is performed.

You can run the ppp authentication-mode command on the LAC.

PAP is not a secure protocol, and CHAP is recommended.

The authentication mode of the local device must be consistent with that of the peer device.

Example

# Authenticate the peer device by CHAP on Virtual-Template 1.

<sysname> system-view
[sysname] interface Virtual-Template 1
[sysname-Virtual-Template1] ppp authentication-mode chap
 The command is used to configure the PPP authentication mode on the local end. 
Confirm that the peer end adopts the corresponding PPP authentication. Continue[Y/N]: y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >