07-22-2025 02:50 PM
Hello Everyone,
I'm facing client disconnection , it tries to connect to the AP and the user is steady and not moving. Captured RA traces and found out the it is happening due to PMKID is sent during authentication.
Client sending authentication request to AP and AP sending back authentication response with status invalid pmkid.
Two concerns here,
1. what invalid pmkid says? Invalid password? If can someone clear here about what is pmkid and why it's needed.
2. How do I validate what makes pmkid being invalid? Does it have expiry time to be valid?
07-22-2025 11:20 PM
- @Maccarony What software version are you using on the 9800 controller ?
+ Checkout these bug reports :
https://bst.cloudapps.cisco.com/bugsearch?pf=prdNm&prdNam=Cisco%20Catalyst%209800%20Series%20Wireless%20Controllers&kw=pmkid&bt=custV&sb=anfr
M.
07-23-2025 02:37 AM - edited 07-23-2025 02:38 AM
@Maccarony you can get some undestanding of how PMK, GTK and authentication process work from following link
https://mrncciew.com/2014/09/11/cwsp-pmk-caching-preauthentication/
07-23-2025 09:54 AM
Thanks for sharing , I understand its a unique key mutual between AP to station, my concern is it related to password practically when we try to login to wireless network and shown up window with user/password.
So invalid password says invalid pmkid?
07-23-2025 10:02 AM
Only make sure wifi client add correct password.
If yoh use symbols in password try change it.
MHM
07-23-2025 10:41 AM
So invalid pmkid means incorrect password?
07-23-2025 11:02 AM
If you not do roaming' then it can be issue of wrong password.
MHM
07-23-2025 09:18 PM
Answers -
1. what invalid pmkid says? Invalid password? If can someone clear here about what is pmkid and why it's needed.
Ans - PMKID is an unique identifier which gets generated as part of the auth mechanism between a client and AP. This ID identifies the PMK used for encrypting comm between and client and AP. During the 4 way handshake the first key that gets generated is MSK. PMK gets derived from MSK. The PMKID is derived from this key and exchanged as part of the handshake process. During fast roaming process, this PMKID allows clients to quickly and securely reconnect to different APs without re-authenticating from scratch.
2. How do I validate what makes pmkid being invalid? Does it have expiry time to be valid?
Ans - We do have option to validate but not east to figure out as it need OTA, WLC internal RA trace and EPC. Every single new auth will generate a new PMKID.
Coming back to your scenario, when the user is already connected to SSID and in RUN state, that means PMKID is already generated. This will come in picture if the device tries to roam. Although it might be physically not moving but if the driver is sensitive and getting signals from multiple APs with almost same signals strength, it can try to roam. Now when WLC says invalid pmkid, there could be 2 possibilities - either device is sending a wrong PMKID which WLC/AP is not aware of. Or else device is sending a correct PMKID, however WLC/AP is reporting it in wrong way. So in your scenario first thing that need to validated if the device is roaming across different APs while physically located in one place. If that's happening and you don't want that, data rates/power levels can be tweaked to see if you can stop that. If that gets stopped, roaming won't happen and subsequently no further issue for PMKID mismatch.
07-23-2025 09:22 PM
are you using fast transition ? if yes disable and test again.
07-24-2025 04:20 PM
is this an intune managed device? What authentication method is being used: EAP-TLS, EAP-PEAP with MSChapv2
are these windows 11 devices with credential guard enabled
what is PMK cache set to if intune managed devices
Had situation where PMK cache was set to 5min and this caused similar issues. Also EAP-PEAP is not supported if Credential Guard is enabled from Microsoft
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