The dot1x eap-notify-packet command configures the device to send EAP packets with a code number to 802.1X users.
The undo dot1x eap-notify-packet command restores the default configuration.
By default, the device does not send EAP packets with a 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 the code number in EAP packets sent by the device. |
The value is an integer that ranges from 5 to 255, the default value is 255. |
data-type type-number |
Specifies the data type in EAP packets sent by the device. |
The value is an integer that ranges from 1 to 255, the default value is 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 being 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 send EAP packets with code number 10 and data type 25.