以下是针对H3C WX2560 AC下苹果笔记本MAC认证正常、Windows正常的常见排查步骤与关键命令:
排查步骤:
1. 检查MAC地址格式(最常见):
现象: Apple设备通常使用小写字母(如 aabbccddeeff),Windows/AC配置常用大写(AABBCCDDEEFF)或带分隔符。
AC操作: 确认AC上的本地MAC认证用户表项是否匹配苹果笔记本的真实MAC(包括大小写)。
快捷办法: 在AC系统视图下开启 mac-authentication username macaddress lowercase(若不支持,请在绑定用户时严格复制无线控制器Debug或日志中看到的MAC字符串)。
2. 检查用户名与密码格式:
默认情况下,H3C MAC认证的用户名和密码都是MAC地址。
确认AC上的本地用户视图下,用户名和密码是否与报文一致(包括是否带横杠 - 或冒号 :)。
*建议:* 在全局配置 mac-authentication user-name-format mac-address [without-hyphen | with-hyphen] 统一个格式。
3. Debug Debugging(看交互细节):
terminal
terminal debugging
terminal monitor
debugging mac-authentication all
debugging radius all // 如果使用了Radius服务器
让苹果电脑重试连接,查看是在“Identity Request”阶段失败,还是“Access Reject”。
4. 检查无线驱动与兼容性:
检查苹果电脑无线是否启用了“随机MAC地址”(Private Wi-Fi Address),导致其发送的MAC与绑定的不符。
关键配置修复命令(参考):
system-view
假设AC使用本地MAC认证,用户名密码都为不带横杠的小写MAC
mac-authentication username macaddress lowercase
mac-authentication user-name-format mac-address without-hyphen
检查本地用户
local-user aabbccddeeff class network
password simple aabbccddeeff
service-type lan-access
暂无评论