The dot1x authentication-method command configures an 802.1X authentication mode.
The undo dot1x authentication-method command restores the default configuration.
The default 802.1X authentication mode is eap, which indicates Extensible Authentication Protocol (EAP) relay authentication.
Parameter |
Description |
Value |
---|---|---|
chap |
Specifies EAP termination authentication using the Challenge Handshake Authentication Protocol (CHAP). |
- |
pap |
Specifies EAP termination authentication using the Password Authentication Protocol (PAP). |
- |
eap |
Specifies Extensible Authentication Protocol (EAP) relay authentication. |
- |
EAP termination: The device directly parses EAP packets, encapsulates user authentication information into a RADIUS packet, and sends the packet to the RADIUS server for authentication. EAP termination is classified into PAP or CHAP authentication.
EAP relay (specified by eap): The device encapsulates EAP packets into RADIUS packets and sends the RADIUS packets to the RADIUS server. The device does not parse the received EAP packets but encapsulates them into RADIUS packets. This mechanism is called EAP over Radius (EAPoR).
The EAP relay can be configured for 802.1X users only when RADIUS authentication is used.
If AAA local authentication is used, the authentication mode for 802.1X users can only be set to EAP termination.
Because mobile phones do not support EAP termination mode (PAP and CHAP), the 802.1X authentication + local authentication mode cannot be configured for mobile phones. Terminals such as laptop computers support EAP termination mode only after having third-party clients installed.
If the 802.1X client uses the MD5 encryption mode, the user authentication mode on the device can be set to EAP or CHAP; if the 802.1X client uses the PEAP authentication mode, the authentication mode on the device can be set to EAP.