拓扑图
RT1配置
<RT1>sys
System View: return to User View with Ctrl+Z.
[RT1]int g0/0/0
[RT1-GigabitEthernet0/0/0]ip add 1.1.1.1 24
[RT1-GigabitEthernet0/0/0]
RT2配置
<RT2>sys
System View: return to User View with Ctrl+Z.
[RT2]int g0/0/0
[RT2-GigabitEthernet0/0/0]ip add 1.1.1.2 24
[RT2-GigabitEthernet0/0/0]
RT1配置
[RT1-GigabitEthernet0/0/0]
[RT1-GigabitEthernet0/0/0]quit
[RT1]telnet server enable 开启telnet
% Start Telnet server
[RT1]local-user wangdandan 用户名
New local user added.
[RT1-luser-wangdandan]password simple wangdandan 密码
[RT1-luser-wangdandan]service-type telnet
[RT1-luser-wangdandan]quit
[RT1]user-interface vty 0 4 (可以有5个用户登录)
[RT1-ui-vty0-4]authentication-mode scheme
[RT1-ui-vty0-4]
[RT1-ui-vty0-4]quit
[RT1]super password level 3 simple 222222 将模式切换到 3 并设置密码
[RT1]
结果
结论
①熟悉telnet命令
用supper切换模式