接口开启dot1x认证,但是终端pc还是可以不认证就上网。
核心交换机旁挂认证设备,核心交换机下联接入交换机,接入交换机直连客户PC
(0)
您好,全局dot1x开启了吗,只要全局和接口下都开启了dot1x,认证才会生效
(0)
开了,还是不行。。。
[ZYCYJG_4]dis cur # version 7.1.070, Release 6318P01 # sysname ZYCYJG_4 # telnet server enable # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dot1x dot1x authentication-method eap # mac-authentication mac-authentication domain zhunru # lldp global enable # loopback-detection global enable vlan 1 to 4094 # password-recovery enable # vlan 1 # vlan 10 # vlan 110 # vlan 210 # vlan 254 name Guanli # vlan 310 # vlan 410 # vlan 510 # stp global enable # interface NULL0 # interface Vlan-interface10 ip address 10.7.1.5 255.255.255.0 # interface Vlan-interface510 ip address 172.168.1.4 255.255.255.0 # interface GigabitEthernet1/0/1 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/2 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/3 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/4 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/5 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/6 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/7 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/8 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/9 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/10 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/11 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/12 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/13 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/14 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/15 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/16 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/17 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/18 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/19 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/20 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/21 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/22 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/23 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/24 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/25 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/26 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/27 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/28 port link-mode bridge port access vlan 10 dot1x undo dot1x handshake dot1x mandatory-domain zhunru mac-authentication loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/29 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/30 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/31 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/32 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/33 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/34 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/35 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/36 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/37 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/38 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/39 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/40 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/41 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/42 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/43 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/44 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/45 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/46 port link-mode bridge port access vlan 10 dot1x undo dot1x handshake dot1x mandatory-domain zhunru mac-authentication loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/47 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/48 port link-mode bridge port access vlan 10 loopback-detection enable vlan 1 to 4094 loopback-detection action shutdown # interface GigabitEthernet1/0/49 port link-mode bridge port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/50 port link-mode bridge port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/51 port link-mode bridge port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/52 port link-mode bridge port link-type trunk port trunk permit vlan all # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line vty 0 4 authentication-mode scheme user-role network-operator # line vty 5 63 user-role network-operator # ip route-static 0.0.0.0 0 172.168.1.254 # snmp-agent snmp-agent local-engineid 800063A2800C3AFAF26E6000000001 snmp-agent community public123 user-role network-admin snmp-agent community test@2020 user-role network-admin snmp-agent sys-info version all # ssh server enable ssh server acl 2000 # acl basic 2000 rule 5 permit source 10.7.1.1 0 rule 10 permit source 192.168.254.200 0 rule 15 permit source 10.7.100.0 0.0.0.255 rule 20 permit source 10.7.1.184 0 rule 25 permit source 10.7.1.57 0 rule 30 permit source 10.7.1.250 0 rule 1000 deny # radius scheme system user-name-format without-domain # radius scheme zhunru primary authentication 10.7.101.14 key cipher $c$3$p4Y+lv2TlMwpUAf4yU680nS44X8oLejp primary accounting 10.7.101.14 key cipher $c$3$IjOCLagKx4QhQ6QDkIcBiGlHz8HjygNV # domain system # domain zhunru authentication lan-access radius-scheme zhunru authorization lan-access radius-scheme zhunru accounting lan-access radius-scheme zhunru # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$023OBXX7RVK1Ng2M$GPdjQ98C4JIUKUy26iqOl1BprWZu8TP8tEUh6EPMwmY8eUJbVWB7sjcblKNf1Hde4mAtYLyqVivcth0ZAegMKg== service-type telnet http ssh terminal authorization-attribute user-role network-admin authorization-attribute user-role network-operator # return
可以把配置文件发给您,帮忙看一下吗?
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
开了,还是不行。
正常开了就上不了网了
检查下接口是否插错了