pc机连接串口
路由器连接console口
退出特权模式 或者是用exit 也可以
Rt99a#disable
Rt99a#logout 退出登录状态
Password:
Password:
Rt99a>
Rt99a>
Rt99a>enable
Password:
Rt99a#
Rt99a#conf t
Rt99a#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Rt99a(config)#
Rt99a(config)#
模拟远程登陆(新增设备)
Rt99a#conf t
Rt99a#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Rt99a(config)#
Rt99a(config)#
Rt99a(config)#
Rt99a(config)#line vty
Rt99a(config)#line vty 0 4 #允许四个终端
Rt99a(config-line)#pas
Rt99a(config-line)#password 99vty04 #配置口令
Rt99a(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Rt99a(config-if)#
Rt99a(config-if)#end # 退出
Rt99a#
%SYS-5-CONFIG_I: Configured from console by console
Rt99a#
Rt99a#wr
Rt99a#write # 保存配置
Building configuration...
[OK]
Rt99a#
pc主机ping
总结:
所用命令:
命名规则
ip地址分配规则