、
ssh server enable
ssh server port 2233
user-interface vty 0 15
authentication-mode scheme
protocol inbound ssh
quit
local-user ylt password simple xxx
authorization-attribute user-role network-admin
service-type ssh
quit
user-interface aux 0
authentication-mode scheme
set authentication password simple xxx
aaa认证失败,如何登陆
(0)
最佳答案
如果是设备的tacacs认证,可参考如下配置:
1、部署hwtacacs:
hwtacacs scheme shebeiguanli
primary authentication 10.190.8.7
primary authorization 10.190.8.7
primary accounting 10.190.8.7
key authentication cipher $c$3$6rB1jZTbXYAS18iQYdh+izGjX6L4us+8BxaOQwE=
key authorization cipher $c$3$lX9iIYf/1Ex6vIIN1NykEnxEU0hLmjgwDeJXeSE=
key accounting cipher $c$3$HZUG2r4NKeXtw9RlZNDWGZvqOpwh4GqfdxIIjIs=
user-name-format without-domain
nas-ip 10.190.0.15
2、配置domain:
domain tamdm
authentication login hwtacacs-scheme shebeiguanli local
authorization login hwtacacs-scheme shebeiguanli local
accounting login hwtacacs-scheme shebeiguanli local
authorization command hwtacacs-scheme shebeiguanli local
accounting command hwtacacs-scheme shebeiguanli
3、启用domain默认域:
domain default enable tamdm
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论