The dot1x eap-notify-packet command enables the device to send an EAP packet code number to users.
The undo dot1x eap-notify-packet command disables the device from sending an EAP packet code number to users.
By default, the device is disabled from sending an EAP packet code number to users.
dot1x eap-notify-packet eap-code code-number data-type type-number
undo dot1x eap-notify-packet [ eap-code code-number data-type type-number ]
Parameter |
Description |
Value |
---|---|---|
eap-code code-number |
Specifies an EAP packet code number sent to users. |
The value is an integer that ranges from 5 to 255. |
data-type type-number |
Specifies the data type in EAP packets sent to users. |
The value is an integer that ranges from 1 to 255. |
Usage Scenario
When a non-Huawei device used as the RADIUS server sends RADIUS packets with attribute 61, EAP packet code number 0xa (hexadecimal notation, 10 in decimal notation), and data type 0x19 (hexadecimal notation, 25 in decimal notation) to the device, run the dot1x eap-notify-packet command on the device so that the device can send EAP packets with code number 0xa and data type 0x19 to users. If the dot1x eap-notify-packet command is not executed, the device does not process EAP packets of this type and users are disconnected.
Precautions
The device can only process EAP packets with code number 10 and data type 25.