1 / 10

实验六 路由器的一般配置

实验六 路由器的一般配置. 一、实验目的: 1 、掌握路由器 IP 地址配置 2 、掌握 CDP 的基本配置 3 、实现背对背连接. 二、实验环境 路由器一台, PC 一台, Boson Simulate 软件。 三、实验内容. routerB. 202.196.73.6/30. 202.196.73.5/30. routerA. S1. S0. S0. 196.10.6.2/28. s1. 212.196.6.1/28. s1. 212.196.6.2/28. 202.56.98.6/27. E0. routerC. S0. E0.

madra
Télécharger la présentation

实验六 路由器的一般配置

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 实验六 路由器的一般配置 一、实验目的: 1、掌握路由器IP地址配置 2、掌握CDP的基本配置 3、实现背对背连接 二、实验环境 路由器一台,PC一台,Boson Simulate软件。 三、实验内容

  2. routerB 202.196.73.6/30 202.196.73.5/30 routerA S1 S0 S0 196.10.6.2/28 s1 212.196.6.1/28 s1 212.196.6.2/28 202.56.98.6/27 E0 routerC S0 E0 202.56.98.0/27 196.10.6.1/28 193.2.6.0/26 193.2.6.2/26 WAN1 WAN2 1、路由器IP地址配置 routerD

  3. (1)配置图示中各IP地址 • (2)配置完毕用PING的命令测试

  4. 2、CDP Cisco发现协议的使用 1)使用Simulate软件设计类似下图的网 2).开启两Cisco设备相联端口的CDP 3).使用命令查看相邻端口信息

  5. l实现CDP方法 1.在端口上开启CDP A)cdp enable 运行在相应端口的端口模式下,用于激活该端口的CDP B)cdp run 运行在全局模式下,用于激活所有端口的CDP。 C)cdp advertise-v2 运行在全局模式下,定义CDP发布版本 D)cdp holdtime 运行在全局模式下,定义cdp数据包在网络的保持时间,单位为sec,如:cdp holdtime 30 E)cdp timer 运行在全局模式下,定义cdp每秒中发送频率,如:cdp holdtime 1

  6. 查看相邻设备 • 在特权模式下执行 • A)show cdp interface • 显示cdp端口的状态及相应配置 • B)show cdp neighbors • 显示邻居端口 • C)show cdp neighbor detail • 显示邻居详细信息

  7. 3.背对背连接 l背对背连接原理 背对背连接是进行广域网接入的最基本实验,它实现了两路由器通过串行线路进行连接。如下图所示: 由于使用了串行通信,则必须要有通讯的同步时钟频率,因此: DCE端:提供通讯所需的同步时钟频率,可选择两路由器的任意一方充当。 DTE端:数字终端设备。

  8. l实现方法 1.为所连接的Router端口分配IP地址 在端口模式下,采用命令ip address。 2.定义DCE端的同步时钟频率 在端口模式下,采用命令clock rate,如:clock rate 9600。 3.将连接端口激活 在端口模式下,采用命令no shutdown。 l测试 若能从一端ping到另一端,则配置成功。

  9. 四、实验要求 • 1、首先做出配置计划,详细写出个端口配置命令。 • 2、利用BOSON做路由器配置。 • 3、将本次实验的计划写在作业本上。

More Related