.
.
计算机网络实验报告
实验一
实验名称:
cisco设备基本配置
学 号:
学生姓名:
班 级:
指导教师:
实验地点:
评 分:
一、实验目的
配置?Cisco?路由器的全局配置设置。
配置?Cisco?路由器的访问口令。
配置?Cisco?路由器的接口。
保存路由器配置文件。
配置?Cisco?交换机。
二、实验器材及拓扑图
硬件
数量
说明
Cisco?路由器
1
CCNA?实验室套装的一部分。
Cisco?交换机
1
CCNA?实验室套装的一部分。
*计算机(主机)
1
实验室计算机。
控制台(全反)电缆
1
用于将计算机主机?1?连接至路由器的控
制台端口。
UTP?5?类交叉电缆
1
用于将计算机主机?1?连接至路由器的
LAN?接口?Fa0/0
直通电缆
3
用于将计算机主机连接至交换机并将交
换机连接至路由器
实验内容
任务?1:配置?Cisco?路由器的全局配置设置。
步骤?1:实际连接设备。
步骤?2:通过超级终端将主机计算机连接到路由器。
从?Windows?的任务栏中单击“开始”|“程序”|“附件”|“通讯”|“超级终端”启动超级终端程序。
使用正确的设置配置超级终端:
连接描述
名称:Lab???11_2_11
图标:自行选择
连接到
连接时使用:COM1(或适当的?COM?端口)
COM1?属性
每秒位数:9600
数据位:8
奇偶校验:无
停止位:1
数据流控制:无
当超级终端会话窗口出现后,按??Enter?键直到路由器发出响应。
如果路由器终端处于配置模式,请通过键入?NO?退出。
Would???you???like???to???enter???the???initial???configuration???dialog?[yes/no]:no
Press???RETURN???to???get???started!
Router>
从用户执行模式进入特权执行模式:
Router>??enable
Router#
步骤?3:配置全局配置主机名设置。
从特权执行模式进入全局配置模式:
Router#???configuration???terminal
Router(config)#
将设备的主机名设为?Router1:
router(config)#???hostname???Router1
Router1(config)#
任务?2:配置?Cisco?路由器的访问口令。
步骤?1:配置特权执行口令。
将特权执行口令设为?cisco。
Router1(config)#???enable???secret???cisco
Router1(config)#
步骤?2:配置控制台口令。
Router1(config)#???line???console???0
Router1(config-line)#???password???class
Router1(config-line)#???login
步骤?3:配置虚拟线路口令。
Router1(config-line)#???line???vty???0???4
Router1(config-line)#???password???class
Router1(config-line)#???login
任务?3:配置?Cisco?路由器的接口。
步骤?1:使用接口配置命令?description?将该描述应用到路由器接口上:
Router1(config)#???interface???fa0/0
Router1(config-if)#???description???Connection???to???Host1???with???crossover???cable
Router1(config-if)#???ip???address???address???mask
Router1(config-if)#???no???shutdown
Router1(config-if)#???end
Router1#
步骤?2:配置路由器的?Fa0/1?接口。
使用接口配置命令??description??将该描述应用到路由器接口上:
Router1(config)#???interface???fa0/1
Router1(config-if)#???description???Connection???to???switch???with???straight-through
cable
Router1(config-if)#???ip???address???address???mask
Router1(config-if)#???no???shutdown
Router1(config-if)#???end
Rout