![H3C S5120-SI Series Operation Manual Download Page 357](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174357.webp)
1-4
Figure 1-3
EAPOL packet format
z
PAE Ethernet type: Protocol type. It takes the value 0x888E.
z
Protocol version: Version of the EAPOL protocol supported by the EAPOL packet sender.
z
Type: Type of the EAPOL packet.
Table 1-1
lists the types that the device currently supports.
Table 1-1
Types of EAPOL packets
Type
Description
EAP-Packet (a value of 0x00)
A packet of this type is repackaged and
transferred by RADIUS on the device to get
through complex networks to reach the
authentication server.
EAPOL-Start (a value of 0x01)
Packet for initiating authentication, present
between a client and a device.
EAPOL-Logoff (a value of 0x02)
Packet for logoff request, present between a client
and a device.
z
Length: Length of the data, that is, length of the Packet body field, in bytes. If the value of this field
is 0, no subsequent data field is present.
z
Packet body: Content of the packet. The format of this field varies with the value of the Type field.
EAP Packet Format
An EAPOL packet of the type of EAP-Packet carries an EAP packet in its Packet body field. The format
of the EAP packet is shown in
Figure 1-4
.
Figure 1-4
EAP packet format
0
15
Code
Data
Length
7
Identifier
2
4
N
z
Code: Type of the EAP packet, which can be Request, Response, Success, or Failure.
An EAP packet of the type of Success or Failure has no Data field, and has a length of 4.