eap authentication-type

Function

The eap authentication-type command configures an EAP authentication mode for an 802.1X supplicant template.

The undo eap authentication-type command restores the default configuration.

By default, CHAP is used for EAP authentication.

Format

eap authentication-type pap

undo eap authentication-type [ pap ]

Parameters

Parameter Description Value
pap

Indicates that PAP is used for EAP authentication.

-

Views

802.1X supplicant template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dot1x write

Usage Guidelines

Usage Scenario

When a device that functions as an 802.1X supplicant performs 802.1X authentication, you need to run the eap authentication-type command to specify an EAP authentication mode for the 802.1X supplicant template. The device supports CHAP and PAP authentication modes. While PAP transmits passwords in plain-text with low security, CHAP transmits passwords in ciphertext with higher security. The default mode is CHAP.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Specify the authentication mode as PAP for the 802.1X supplicant template 1.
<HUAWEI> system-view
[~HUAWEI] dot1x-supplicant-template 1
[~HUAWEI-dot1x-sublicant-template-1] eap authentication-type pap
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >