06-27-2023 05:37 AM
Over the past few weeks, I have been working on configuring 802.1x port-based authentication between my Cisco switch (RADIUS Client) and the NPS Server (My DC) using EAP-TLS authentication.
After completing the configuration on both sides following the tutorial provided in this link: Tutorial Link, I noticed that the status of my Ethernet port changed to "Authentication failed." To investigate further, I captured the EAP packets using Wireshark and observed that my computer responded with the identity but received a failure response with "EAP Code Failure 4."
Now, I'm trying to determine which side might be causing the error - the switch or the NPS server. I have referred to several guides, and it seems that the configuration on the NPS server was done correctly, and the CA certificate was imported to the client.
For reference, here is the configuration from the NPS and endpoint side: Configuration Link
Any insights or guidance on resolving this issue would be greatly appreciated.
Best regards,
Michael
07-01-2023 12:25 PM
Your switch is not initiating any RADIUS request to the NPS server, hence, no log seen on the server. What is the switchport configuration and AAA configuration done on the switch?
07-03-2023 01:00 AM
07-03-2023 01:08 AM
you config radius-group in authc/authz
but where is config of server in this group??
07-03-2023 01:31 AM
07-03-2023 01:53 AM
ip radius source-interface VLANx
then ping to server using this VLAN SVI as source, are the ping success ?
07-05-2023 06:47 AM
Yes the result of the ping is success
07-05-2023 07:05 AM
authentication port-control OR dot1xport-control
add above and then
show aaa server
the request count must increase in this case
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide