authentication-mode 常見(jiàn)的配置參數(shù)有三種
user-interface vty 0 14
1、authentication-mode aaa或authentication-mode?scheme
創(chuàng)建本地用戶并啟用AAA驗(yàn)證搞监。
2、authentication-mode password
直接在user-interface vty 下用passrod設(shè)置密碼
3、authentication-mode none
遠(yuǎn)程維護(hù)登陸不需要密碼
scheme是組合的意思.就是組合認(rèn)證方式,即輸入:用戶名+密碼認(rèn)證..
1.進(jìn)入用戶界面:user-interface 0 4?(和思科里面的VTY一樣,0 4是指可以有5個(gè)用戶會(huì)話同時(shí)連接,0,1,2,3,4 )
2.設(shè)置認(rèn)證模式為組合模式(用戶名加密碼):Authenticate-mode scheme
3.建立本地用戶名:local-user 用戶名,
4.設(shè)置用戶密碼:password simple 密碼...
5.設(shè)置訪問(wèn)服務(wù)類型為telnet:service-type telnet
6.設(shè)置授權(quán)訪問(wèn)級(jí)別:level 3
7.退出:quit