1.R2配置
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]ip address 12.1.1.2 8
[R2]aaa
[R2-aaa]local-user dsrw password cipher dsrw.com
[R2-aaa]local-user dsrw privilege level 3
[R2-aaa]local-user dsrw service-type telnet
[R2]user-interface console 0
[R2-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):dsrw.com
[R2-ui-console0]set authentication password cipher dsrw.com
[R2]user-interface vty 0 4
[R2-ui-vty0-4]authentication-mode aaa
2.R1配置
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip address 12.1.1.1 8
<R1>telnet 12.1.1.2
Press CTRL_] to quit telnet mode
Trying 12.1.1.2 ...
Connected to 12.1.1.2 ...
Login authentication
Username:dsrw
Password:
3.R2查看登录用户
[R2]display users
129 VTY 0 00:00:47 TEL 12.1.1.1 pass Username : dsrw
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容