實(shí)驗(yàn)內(nèi)容:
R1:機(jī)房設(shè)備为肮,R2叉钥、R3模擬PC進(jìn)行遠(yuǎn)程登陸R1,配置telnet兩種認(rèn)證方式
實(shí)驗(yàn)步驟:
1.使用ensp建立拓?fù)洹?/p>
2.配置各設(shè)備端口ip地址:
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R1
[R1]INT G0/0/0
[R1-GigabitEthernet0/0/0]IP ADDR 10.1.1.254 24
<Huawei>SYS
Enter system view, return user view with Ctrl+Z.
[Huawei]SYS R2
[R2]INT G0/0/0
[R2-GigabitEthernet0/0/0]IP ADDR 10.1.1.1 24
------------------------------------------------------------------------------------------------
<Huawei>SYS
Enter system view, return user view with Ctrl+Z.
[Huawei]SYS R3
[R3]INT G0/0/0
[R3-GigabitEthernet0/0/0]IP ADDR 10.1.1.2 24
################################################################
3.配置password認(rèn)證
R1上配置telnet 驗(yàn)證方式為密碼驗(yàn)證方式篙贸,密碼為huawei投队,并設(shè)置密文存儲(chǔ),
[R1]user-interface vty 0 4
[R1-ui-vty0-4]authentication-mode password ***
Please configure the login password (maximum length 16):huawei ***
-----------------------------------------------------
<R2>telnet 10.1.1.254
*** Press CTRL_] to quit telnet mode
*** Trying 10.1.1.254 ...
*** Connected to 10.1.1.254 ...***
Login authentication
Password:
<R1>
###############################################################
4.配置aaa認(rèn)證
***[R1]aaa ***
[R1-aaa]local-user admin password cipher hello privilege level 3 //添加admin賬戶密碼為hello爵川,密文保存敷鸦,用戶權(quán)限3
[R1-aaa]local-user admin service-type telnet
[R1-aaa]q
***[R1]user-interface vty 0 4 ***
***[R1-ui-vty0-4]authentication-mode aaa ***
***###############################################################*********