Operation Manual – 802.1x
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
802.1x Configuration
1-7
Supplicant
system
Switch
RADIUS server
EAPoL
EAPoR
EAPoL-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
EAPoL-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port accepted
Handshake timer time o
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Port rejected
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port accepted
Handshake timer time o
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Port rejected
Supplicant
system
Switch
RADIUS server
EAPoL
EAPoR
EAPoL-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
EAPoL-Logoff
......
Supplicant
system
Switch
RADIUS server
EAPoL
EAPoR
EAPoL-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
EAPoL-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port accepted
Handshake timer time o
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Port rejected
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port accepted
Handshake timer time o
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Port rejected
Supplicant
system
Switch
RADIUS server
EAPoL
EAPoR
EAPoL-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
EAPoL-Logoff
......
Supplicant
system
Switch
RADIUS server
EAPoL
EAPoR
EAPoL-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
EAPoL-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port accepted
Handshake timer time o
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Port rejected
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port accepted
Handshake timer time o
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Port rejected
Supplicant
system
Switch
RADIUS server
EAPoL
EAPoR
EAPoL-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
EAPoL-Logoff
......
Supplicant
system
Switch
RADIUS server
EAPoL
EAPoR
EAPoL-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
EAPoL-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port accepted
Handshake timer time o
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Port rejected
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port authorized
Handshake timer time out
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Supplicant
system
Switch
RADIUS server
-Start
EAP-Request/Identity
EAP-Response/Identity
EAP-Request/MD5 Challenge
EAP-Success
EAP-Response/MD5 Challenge
RADIUS Access-Reque
(EAP-Response/Identit
RADIUS Access-Challeng
(EAP-Request/MD5 Challe
st
y)
e
nge)
RADIUS Access-Accept
(EAP-Success)
RADIUS Access-Request
(EAP-Response/MD5 Challenge)
Port accepted
Handshake timer time o
Handshake requesting packet
[EAP-Request/Identity]
Handshake response packet
[EAP-Response/Identity]
-Logoff
......
Port rejected
Figure 1-8 802.1x authentication procedure (in EAP relay mode)
The detailed procedure is as follows.
z A supplicant system launches an 802.1x client to initiate an access request by
sending an EAPoL-start packet to the switch, with its user name and password
provided. The 802.1x client program then forwards the packet to the switch to start
the authentication process.
z Upon receiving the authentication request packet, the switch sends an
EAP-request/identity packet to ask the 802.1x client for the user name.
z The 802.1x client responds by sending an EAP-response/identity packet to the
switch with the user name contained in it. The switch then encapsulates the packet
in a RADIUS Access-Request packet and forwards it to the RADIUS server.
z Upon receiving the packet from the switch, the RADIUS server retrieves the user
name from the packet, finds the corresponding password by matching the user
name in its database, encrypts the password using a randomly-generated key,
and sends the key to the switch through an RADIUS access-challenge packet.
The switch then sends the key to the 802.1x client.