S5120v3交换机配置mac地址认证认证失败
local-user 7C-8A-E1-65-5F-D8 class network |
password simple 7C-8A-E1-65-5F-D8 |
service-type lan-access |
quit |
domain bbb |
authentication lan-access local |
quit |
interface gigabitethernet 1/0/1 |
mac-authentication mac-authentication domain bbb |
quit |
mac-authentication domain bbb |
mac-authentication timer offline-detect 180 |
mac-authentication timer quiet 180 |
mac-authentication user-name-format mac-address with-hyphen lowercase |
mac-authentication |
[H3C]dis mac-authentication
Global MAC authentication parameters:
MAC authentication : Enabled
Authentication method : CHAP
Username format : MAC address in lowercase(xx-xx-xx-xx-xx-xx)
Username : mac
Password : Not configured
MAC range accounts : 0
MAC address Mask Username
Offline detect period : 180 s
Quiet period : 180 s
Server timeout : 100 s
Reauth period : 3600 s
User aging period for critical VLAN : 1000 s
User aging period for critical VSI : 1000 s
User aging period for guest VLAN : 1000 s
User aging period for guest VSI : 1000 s
Temporary user aging period : 60 s
Authentication domain : bbb
HTTP proxy port list : Not configured
HTTPS proxy port list : Not configured
Online MAC-auth wired users : 0
Silent MAC users:
MAC address VLAN ID From port Port index
7c8a-e165-5fd8 1 GE1/0/1 1
GigabitEthernet1/0/1 is link-up
MAC authentication : Enabled
Carry User-IP : Disabled
Authentication domain : bbb
Auth-delay timer : Disabled
Periodic reauth : Disabled
Re-auth server-unreachable : Logoff
Guest VLAN : Not configured
Guest VLAN reauthentication : Enabled
Guest VLAN auth-period : 30 s
Critical VLAN : Not configured
Critical voice VLAN : Disabled
Host mode : Single VLAN
Offline detection : Enabled
Authentication order : Default
User aging : Enabled
Server-recovery online-user-sync : Disabled
Guest VSI : Not configured
Guest VSI reauthentication : Enabled
Guest VSI auth-period : 30 s
Critical VSI : Not configured
Auto-tag feature : Disabled
VLAN tag configuration ignoring : Disabled
Max online users : 4294967295
Authentication attempts : successful 0, failed 1
Current online users : 0
MAC address Auth state
(0)
最佳答案
配置错误
指定了账号是小写,账号有建个大写。。。
其次看下具体报错日志进一步定位吧
目前看就是账号格式错误导致失败
(0)
谢谢,可以了,的确是大小写问题
mac地址格式错误
(0)
without-hyphen lowercase 就是全部小写,且不带连字符-的MAC地址
without-hyphen lowercase 就是全部小写,且不带连字符-的MAC地址
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
谢谢,可以了,的确是大小写问题