admin 管理员组文章数量: 1087139
2023年12月25日发(作者:串行传输的三种传输方式)
《网络工程》教学案例—基于PT
案例3:通过console端口访问路由器
1. 案例目标
通过本案例,你可以掌握如下技能:
1) PC的串口和路由器console端口的连接方法
2) 使用PC的桌面终端(Terminal)工具配置路由器
4) 配置console登录口令
5) 验证console登录口令
设备:1台普通PC,一台2811路由器。拓扑:如下图。
3. 操作步骤
步骤1:按上图添加设备,并选择console连接线连接PC与路由器。
步骤2:单击PC,打开PC配置窗口,选择Desktop页签,在桌面实用程序中选择Terminal(仿真终端)。保持端口配置不变,如图3-1,单击OK。
广东韶关学院 王为群编
012. 设备与拓扑
1
3) 了解路由器的开机过程
《网络工程》教学案例—基于PT
图3-1 设备串口通信参数
注意:通常路由器出厂时,波特率为9600bps,因此在图3-1窗口中使用步骤3:观察路由器开机过程。单击路由器,打开路由器配置窗口,选择如图3-2所示。
广东韶关学院 王为群编
bbPhysical页签,再单击电源开关两次(注意,绿灯亮表示开,绿灯灭表示关),默认值即可。
01 2
《网络工程》教学案例—基于PT
电源开关
图3-2 开关路由器示意图
//以上显示BOOT ROM的版本
Copyright (c) 2000 by cisco Systems, Inc.
//以上显示路由器的内存大小
Self decompressing the image :
//以上是IOS解压过程
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
广东韶关学院 王为群编
步骤4:当路由器一关一开之际,立即切换到PC的桌面仿真终端,即可观cisco 2811 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
#################################################################### [OK]
bbSystem Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
s.察到路由器的启动输出信息如下:
hh01 3
《网络工程》教学案例—基于PT
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version
Technical Support: /techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 06:21 by pt_rel_team
Image text-base: 0x400A925C, data-base: 0x4372CE20
This product contains cryptographic features and is subject to United
use. Delivery of Cisco cryptographic products does not imply
Importers, exporters, distributors and users are responsible for
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
/wwl/export/crypto/tool/
If you require further assistance please contact us by sending email to
export@.
cisco 2811 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
广东韶关学院 王为群编
4
bbcompliance with U.S. and local country laws. By using this product you
-party authority to import, export, distribute or use encryption.
hhStates and local country laws governing import, export, transfer and
12.4(15)T1, RELEASE SOFTWARE (fc2)
《网络工程》教学案例—基于PT
2 FastEthernet/IEEE 802.3 interface(s) //两个百兆以太网接口
//FLASH rom的大小
239K bytes of non-volatile configuration memory. //NVRAM的大小
62720K bytes of ATA CompactFlash (Read/Write)
12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: /techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 06:21 by pt_rel_team
--- System Configuration Dialog ---
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version
//以上提示是否进入配置对话模式?通常回答“n”结束该模式,设置模式只包含了几
//个全局命令,它基本上没有什么用处。
步骤5:配置console口令
Router(config-line)#password cisco //配置console口令
Router(config-line)#login //激活口令登录
Router(config-line)#exec-timeout 0 0 //设置控制台EXEC会话永不超时
Router(config-line)#logging synchronous //防止控制台信息打扰输入
Router(config-line)#
步骤6:验证控制台口令
1) 保存路由器的配置(用config页面),如图3-3。
广东韶关学院 王为群编
bbRouter#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line ?
<0-81> First Line number
console Primary terminal line
vty Virtual terminal
Router(config)#line console 0
tinue with configuration dialog? [yes/no]:
5
《网络工程》教学案例—基于PT
单击此处保存运行配置
图3-3 在config页面保存运行配置
2) 重启路由器,即先关闭电源再打开。
所示。
广东韶关学院 王为群编
3) 转到PC的终端程序中登录路由器时,将提示输入口令,如图3-401 6
《网络工程》教学案例—基于PT
图3-4 在PC终端程序中登录路由器
广东韶关学院 王为群编
01 7
版权声明:本文标题:通过console端口访问路由器 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1703489205a453561.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论