侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

AAA authenticaiton on Cisco device

2023-05-15 星期一 / 0 评论 / 0 点赞 / 78 阅读 / 2078 字

Typethefollowingcommandundertheline:UsernameciscopasswordciscoAaanew-modelAaaauthenticationloginvty.

.

Type the following command under the line:

Username cisco password cisco

Aaa new-model 

Aaa authentication login vty.authengroup tacacs+ local none 

Tacacs-server host 192.168.127.233 key cisco

Radius-server host 192.168.127.233 key cisco

Line vty 0 15

Password ppp

Login authentication vty.authen

***if we set the ACS correctly, we should create a username Devin; and input the server client on the ACS. 

Because we type the command vty.authengroup tacacs+ local none; then authentication will first find the ACS tacas server, if it is not successful, it will seek local username/password. If the local also don’t have the username/password, it will keep none login. 

Test: 

1, make the network between client and ACS broken down, we can use the PPP login this router without password; also we can use the devin to login the router without password. At last we need to use cisco with password cisco to login. 

2, if the network is ok, we can only use the ACS as the authentication, then we canonly use the devin as the only way to login. 

 

.

广告 广告

评论区