The ppp authentication-mode command sets the local PPP authentication mode for the peer device.
The undo ppp authentication-mode command removes the authentication.
| 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. |
- |
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.
# 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