(整理)cisco实训项目案例(路由交换篇)_CCNA_CCNP_CCIE_实验项目. 下载本文

内容发布更新时间 : 2024/6/24 20:16:08星期一 下面是文章的全部内容请认真阅读。

精品文档

实验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地址分配

精品文档