没有合适的资源?快使用搜索试试~ 我知道了~
首页cisco实训项目案例(路由交换篇)_CCNA_CCNP_CCIE_实验项目
cisco实训项目案例(路由交换篇)_CCNA_CCNP_CCIE_实验项目
需积分: 47 57 下载量 126 浏览量
更新于2023-06-03
评论 4
收藏 2.32MB DOC 举报
cisco实训项目案例(路由交换篇)_CCNA_CCNP_CCIE_实验项目
资源详情
资源评论
资源推荐
实验1 路由器基础命令回顾
一、 实验目的
通过本节的练习回顾、熟悉一期课程中涉及到的路由器的相关指令。掌握路由器的基础配
置。
二、 实验需要的知识点
一期路由器的基础知识。
三、 实验步骤
1、改写主机名。把路由器的主机名改成:RouterA.。
在全局模式下使用指令的关键字:hostname name
2、配置密码。进入特权模式的密码为cisco。配置控制台的密码:cisco
配置远程登录的密码:cisco
在全局模式下使用指令的关键字:enable password password
在全局模式下使用指令的关键字:line vty 0 4
login
password password
在全局模式下使用指令的关键字:line console 0
login
password password
3、配置时钟。在全局模式下使用指令的关键字:clock set hh::mm::ss mm:dd:yy
4、配置接口ip地址。在路由器的环回接口配置ip地址:1.1.1.1/24。在e0
接口上配置ip地址:192.1.1.1/24
在全局模式下使用指令的关键字:interface interface
在接口模式下使用指令的关键字:ip address ip address mask
5、退出,有三种方法。 end
exit
logout
6、保存配置,有两种方法。 copy running-config stratup-config
write
7、停止域名解析查询。在全局模式下使用指令的关键字:no ip domain lookup
四、 检测
在特权模式下使用:show version
2、在特权模式下使用:show interface {interface}
3、在特权模式下使用:show flash
4、在特权模式下使用:show running-config
5、在特权模式下使用:show startup-config
6、在特权模式下使用:show history
7、在特权模式下使用:show clock
8、ping 自己的环回口地址。
在特权模式下使用:ping ip address
五、 标准配置
router>en
router#config terminal
router(config)#hostname RouterA
RouterA(config)#enable password cisco
RouterA(config)# line vty 0 4
RouterA(config-line)#password cisco
RouterA(config-line)#login
RouterA(config-line)#exit
RouterA(config)#line console 0
RouterA(config-line)#password cisco
RouterA(config-line)#login
RouterA(config-line)#end
RouterA#config terminal
RouterA(config)#interface lo0
RouterA(config-if)#ip address 1.1.1.1 255.255.255.0
RouterA(config-if)#interface e0
RouterA(config-if)#ip address 192.1.1.1 255.255.255.0
RouterA(config-if)#no shutdown
RouterA(config-if)#exit
RouterA(config)#no ip domain lookup
RouterA(config)#end
RouterA#copy running-config stratup-config
RouterA#write
RouterA#logout
实验2 配置标准的静态路由
实验目的
通过本节的实验,熟练掌握静态路由的使用。
实验需要的知识点
路由表选择获取信息的方式有两种,以静态的方式手工输入信息也就是静态路由,或者通
过几种自动信息发现(动态路由选择协议)自动的获取信息。
静态路由配置可以为理解后续章节做好准备。
在实际生活中的应用
在某些场合,人们宁愿选择静态路由,而不是动态路由。对于任何程序而言,自动化程度
越高,可控程度就越差。静态路由允许在互联网络的路由选择行为上实施非常精确的控制,然
而为此付出的代价是每当网络拓扑结构发生变化时都需要重新进行手工配置。
实验要求
只通过配置静态IP地址使整个网络连通。
实验拓扑及IP地址分配
六、 实验步骤
1、给路由器分别命名主机名。例如:路由器A:RouterA。定义进入特权模式的密码为:
cisco。
在全局模式下使用指令的关键字:hostname name
enable password
2、根据拓扑图配置接口IP地址。
在全局模式下使用指令的关键字:interface interface
在接口模式下使用指令的关键字:ip address ip-address mask
3、DCE端配置时钟。
在接口模式下使用指令的关键字:clock rate clock。
4、分别在四台路由器上配置静态路由。
在全局模式下使用指令的关键字:ip route ip-address mask ip-address
检测
分别在四台路由器上的特权模式下使用指令show ip route察看路由表
以下以路由器B为例:
RouterB#sh ip route
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.4.6.0/24 is directly connected, Serial1
S 10.4.7.0/24 [1/0] via 10.4.6.2
S 10.1.0.0/16 [1/0] via 192.168.1.194
192.168.1.0/27 is subnetted, 3 subnets
C 192.168.1.64 is directly connected, Serial0
S 192.168.1.0 [1/0] via 192.168.1.65
C 192.168.1.192 is directly connected, Ethernet0
注意观察标有静态路由的选项,和所有网段中的子网掩码。
在路由器A上,ping各个网段。都要求能够ping通。
RouterA#ping 10.1.5.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.5.1, timeout is 2 seconds:
!!!!!
Success rate is100 percent (5/5), round-trip min/avg/max = 28/31/33 ms
RouterA#ping 10.4.7.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.4.7.1, timeout is 2 seconds:
!!!!!
Success rate is100 percent (5/5), round-trip min/avg/max = 57/59/60 ms
标准配置
RouterA :
router# config terminal
router(config)#hostname RouterA
RouterA(config)#enable password cisco
RouterA(config)#no ip domain lookup
RouterA(config)#interface s0/0
RouterA(config-if)#ip address 192.168.1.65 255.255.255.224
RouterA(config-if)#no shutdown
RouterA(config-if)#interface e0/0
RouterA(config-if)#ip address 192.168.1.1 255.255.255. 224
RouterA(config-if)#no shutdown
RouterA(config-if)#exit
RouterA(config)#ip route 192.168.1.192 255.255.255.224 192.168.1.66
RouterA(config)#ip route 10.1.0.0 255.255.0.0 192.168.1.66
RouterA(config)#ip route 10.4.6.0 255.255.255.0 192.168.1.66
RouterA(config)#ip route 10.4.7.0 255.255.255.0 192.168.1.66
RouterB :
router# config terminal
router(config)#hostname RouterB
RouterB(config)#enable password cisco
RouterB(config)#no ip domain lookup
RouterB(config)#interface s0/0
RouterB(config-if)#ip address 192.168.1.66 255.255.255.224
RouterB(config-if)#clock rate 64000
RouterB(config-if)#no shutdown
RouterB(config-if)#interface s0/1
RouterB(config-if)#ip address 10.4.6.1 255.255.255.0
RouterB(config-if)#clock rate 64000
RouterB(config-if)#no shutdown
RouterB(config-if)#interface e0/0
RouterB(config-if)#ip address 192.168.1.193 255.255.255.224
RouterB(config-if)#no shutdown
RouterB(config-if)#exit
RouterB(config)#ip route 192.168.1.0 255.255.255.224 192.168.1.65
RouterB(config)#ip route 10.1.0.0 255.255.0.0 192.168.1.194
剩余63页未读,继续阅读
su08016
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0