我将aux0 改成authentication-mode scheme 后 local-user用户名和密码都正确的情况下无法进入。尝试无果后将认证改为none 使用console线仍然提示用户名密码。。不知道还有哪里的设备我没有做。坐等大神们的回复
(0)
最佳答案
贴个完整配置看看呢
(0)
password-recovery enable # interface Bridge-Aggregation1 description link to AC1-2 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 21 158 # # scheduler logfile size 16 # line class aux user-role network-admin # line class usb user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line vty 0 63 authentication-mode scheme user-role network-admin user-role network-operator # ip route-static 0.0.0.0 0 172.168.63.254 # ssh server enable # acl basic 2111 # acl advanced 3001 rule 0 permit ip source 172.168.48.79 0 destination 172.168.63.252 0 rule 5 permit ip source 172.168.63.252 0 destination 172.168.48.79 0 # acl number 4111 rule 0 permit source-mac e411-5b3d-2f18 ffff-ffff-ffff # radius scheme system user-name-format without-domain # domain system # 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$NfrBz1uM2CReI9zC$xKu3OFsKjlyz7+AYpB5rvTOng6jRtatNOHCO5x7OgRJ1uhZ7gSpQrHK1oM7KzT3RzjuKIZenDr7ROkxrEeug8g== service-type telnet http https ssh terminal authorization-attribute user-role network-admin authorization-attribute user-role network-operator # local-user h3c class manage password hash $h$6$UHuPMOddmy+eWhU4$+hDPTVAD1jMAzM+PHNyRFUvWl+kNnrI5sMeoEQOyUGHnHxfwaEa2w8ZB5ikQYzODFAPbC1f3GZj19qLDPpEWwg== service-type ssh terminal authorization-attribute user-role network-admin authorization-attribute user-role network-operator # cloud-management server domain oasis.h3c.com # return
password-recovery enable # interface Bridge-Aggregation1 description link to AC1-2 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 21 158 # # scheduler logfile size 16 # line class aux user-role network-admin # line class usb user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line vty 0 63 authentication-mode scheme user-role network-admin user-role network-operator # ip route-static 0.0.0.0 0 172.168.63.254 # ssh server enable # acl basic 2111 # acl advanced 3001 rule 0 permit ip source 172.168.48.79 0 destination 172.168.63.252 0 rule 5 permit ip source 172.168.63.252 0 destination 172.168.48.79 0 # acl number 4111 rule 0 permit source-mac e411-5b3d-2f18 ffff-ffff-ffff # radius scheme system user-name-format without-domain # domain system # 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$NfrBz1uM2CReI9zC$xKu3OFsKjlyz7+AYpB5rvTOng6jRtatNOHCO5x7OgRJ1uhZ7gSpQrHK1oM7KzT3RzjuKIZenDr7ROkxrEeug8g== service-type telnet http https ssh terminal authorization-attribute user-role network-admin authorization-attribute user-role network-operator # local-user h3c class manage password hash $h$6$UHuPMOddmy+eWhU4$+hDPTVAD1jMAzM+PHNyRFUvWl+kNnrI5sMeoEQOyUGHnHxfwaEa2w8ZB5ikQYzODFAPbC1f3GZj19qLDPpEWwg== service-type ssh terminal authorization-attribute user-role network-admin authorization-attribute user-role network-operator # cloud-management server domain oasis.h3c.com # return
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明