• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

继续求助2,s5560有线802.1x验证不通过,客户端用iNode7.3,附全部配置+debug

2019-12-13提问
  • 0关注
  • 1收藏,1050浏览
粉丝:0人 关注:0人

问题描述:

交换机是S5560,客户端是win10+iNode7.3,采用本地认证,交换机可以读取用户信息但验证失败。

确认测试用户test的密码设置为最简单"12345678",但仍失败,提示ErrCode=8。

配置如下:

[Core_SW]dis cur

#

 dot1x 

interface GigabitEthernet1/0/3 

 port access vlan 20

 stp edged-port

 dot1x

 #

domain system

 authentication lan-access local

 authorization lan-access local

 accounting lan-access local

#

 domain default enable system

 #

local-user test class network

 password cipher $c$3$rPs7cArO5ZceaH2FVzU6PbNWJB+Hh3gpRls=

 service-type lan-access

 authorization-attribute user-role network-operator 


=====================================================

debugging dot1x all,全部的debug信息显示如下:

*Dec 13 14:44:09:881 2019 Core_SW DOT1X/7/PACKET: 

Transmitted a packet on interface GE1/0/3. 

---Verbose information of the packet---

 Destination Mac Address: f439-0924-0aa9 

Source Mac Address: 9ce8-95d1-a74c 

VLAN ID: 20 

Mac Frame Type: 888e

 Protocol Version ID: 1 

Packet Type: 0 

Packet Length: 22 

-----Packet Body----- 

Code: 1 

Identifier: 2 

Length: 5632 

*Dec 13 14:44:09:896 2019 Core_SW DOT1X/7/PACKET: 

Received a packet on interface GE1/0/3.

 ---Verbose information of the packet--- 

Destination Mac Address: 9ce8-95d1-a74c 

Source Mac Address: f439-0924-0aa9 

Mac Frame Type: 888e 

Protocol Version ID: 1

 Packet Type: 0 

Packet Length: 26 

-----Packet Body-----

 Code: 2 

Identifier: 2

Length: 26 

*Dec 13 14:44:09:896 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:VLAN20:GE1/0/3] BE is in Response state. 

*Dec 13 14:44:09:897 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:VLAN20:GE1/0/3] Created server timeout timer successfully. 

*Dec 13 14:44:09:905 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:VLAN20:GE1/0/3] User sent authentication request. 

%Dec 13 14:44:09:908 2019 Core_SW DOT1X/6/DOT1X_LOGIN_FAILURE: -IfName=GigabitEthernet1/0/3-MACAddr=f439-0924-0aa9-VLANID=20-Username=test-ErrCode=8; User failed 802.1X authentication. 

*Dec 13 14:44:09:910 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:20:GE1/0/3] AAA processed authentication request and returned Failure code 26. 

*Dec 13 14:44:09:911 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:VLAN20:GE1/0/3] BE is in Fail state. 

*Dec 13 14:44:09:913 2019 Core_SW DOT1X/7/PACKET: 

Transmitted a packet on interface GE1/0/3. 

---Verbose information of the packet--- 

Destination Mac Address: f439-0924-0aa9 

Source Mac Address: 9ce8-95d1-a74c 

VLAN ID: 20 

Mac Frame Type: 888e 

Protocol Version ID: 1 

Packet Type: 0 

Packet Length: 4 

-----Packet Body-----

 Code: 4 

Identifier: 2 

Length: 1024 

*Dec 13 14:44:09:914 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:VLAN20:GE1/0/3] PAE is in Aborting state. 

*Dec 13 14:44:09:914 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:VLAN20:GE1/0/3] BE is in Initialize state. 

*Dec 13 14:44:09:914 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:VLAN20:GE1/0/3] PAE is in Disconnect state. 

*Dec 13 14:44:09:915 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:VLAN20:GE1/0/3] BE is in Idle state. 

*Dec 13 14:44:09:915 2019 Core_SW DOT1X/7/EVENT: PORT_SM[GE1/0/3] received event Set the port authorization status to unauthorized.. 

*Dec 13 14:44:09:917 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:VLAN20:GE1/0/3] Processing the event of AuthenFail. 

*Dec 13 14:44:09:917 2019 Core_SW DOT1X/7/EVENT: [f439-0924-0aa9:VLAN20:GE1/0/3] Notified PortSec of AuthenFail result: 2


##########


====================

附上基本全部的配置:

[Core_SW]dis cur 

#

 sysname Core_SW

#

 clock timezone PRC add 08:00:00 

#

 telnet server enable #

 irf mac-address persistent timer

 irf auto-update enable undo

 irf link-delay 

irf member 1 priority 2

 irf member 2 priority 1 

#

 dot1x 

#

 dns server 114.114.114.114 

#

 lldp global enable 

 password-recovery enable 

#

 vlan 1 

#

 vlan 10 

#

 vlan 20 

#

 vlan 252 

#

 irf-port 1/1 port group

 interface Ten-GigabitEthernet1/0/25 

#

 irf-port 2/2 port group 

 interface Ten-GigabitEthernet2/0/25 

#

 stp global enable 

#

 interface Bridge-Aggregation13

 port link-type trunk

 port trunk permit vlan 1 20 

#

 interface Bridge-Aggregation14

 port link-type trunk

 port trunk permit vlan 1 10 

#

 interface Bridge-Aggregation23

 port link-type trunk

 port trunk permit vlan 1 20 

#

 interface Bridge-Aggregation24

 port link-type trunk

 port trunk permit vlan 1 10 

#

 interface NULL0 

#

 interface Vlan-interface1 

#

 interface Vlan-interface10 ip address xxxxx 

#

 interface Vlan-interface20 ip address xxxxxxxxxx 

#

 interface GigabitEthernet1/0/3

 port access vlan 20

 stp edged-port

 dot1x 

#

 scheduler logfile size 16

 #

 line class aux

 user-role network-admin 

#

 line class vty

 user-role network-operator 

#

 line aux 0 1

 user-role network-admin 

#

 line vty 0

 user-role network-admin

 user-role network-operator

 set authentication password hash $h$6$kdh0pOK5OTSPlO5R$0G9n7P9J9Du+gOZJnADvXp30j4JHBs2OViC5r+SP6RYU5eBE4Xn4SDyORJzId2GxQapSe5PyQWXnHRTZiAiKCA== 

 idle-timeout 180 0 

#

 ip route-static xxxxxxxxxxxxxxxx 

#

 ntp-service enable

 ntp-service unicast-server ***.*** 

#

 domain system

 authentication lan-access local

 authorization lan-access local

 accounting lan-access local 

#

 domain default enable system 

#

 role name level-0

 description Predefined level-0 role 

#

 user-group system 

#

 local-user admin class manage

 password hash $h$6$ktmWTMdwDA7Kr2kk$Kl4TF/Hw2hBAJUtXCBlEBdkgYy4Pd1xb3Zp4gVujXP80Tqb5N6d9mwVXhpS8dCmY6hlaTSzwLE06gGX5p9LpvA==

 service-type telnet terminal

 authorization-attribute user-role network-admin 

 authorization-attribute user-role network-operator 

#

 local-user test class network

 password cipher $c$3$rVPhtEAQ/RLN1qR1EsUtaHIj/AbQIkawg6ev

 service-type lan-access

 authorization-attribute user-role network-operator 

#

 return



麻烦各位老大帮忙看看还是哪些地方没有设置,非常感谢!


最佳答案

粉丝:52人 关注:5人

配置没问题,从debug信息看, errcode是8,即用户名密码错误导致认证失败,建议排查下服务器侧。如果服务器侧没问题,收集下debug发400分析吧。

暂无评论

3 个回答
已采纳
粉丝:10人 关注:7人

把inode那个上传版本的选项,取消掉

暂无评论

粉丝:14人 关注:4人

这个最好联系售后定位下,需要看日志。

暂无评论

zhiliao_Mu1yXv 知了小白
粉丝:0人 关注:0人

感谢两位老大!

暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明