ImageVerifierCode 换一换
格式:DOCX , 页数:51 ,大小:160.15KB ,
资源ID:9456980      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/9456980.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(计网实验报告.docx)为本站会员(b****7)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

计网实验报告.docx

1、计网实验报告实验一电 子 科 技 大 学实 验 报 告学生姓名: 学 号: 指导教师:实验地点:计算机学院三楼机房 实验时间: 一、实验室名称:计算机学院机房 2、实验项目名称:交换机的基本配置三、实验学时:4四、实验原理:交换机的管理方式基本分为两种:带内管理和带外管理。通过交换机的Console口管理交换机属于带外管理,不占用交换机的网络接口,其特点是需要使用配置线缆,近距离配置。第一次配置交换机时必须利用Console端口进行配置。交换机的命令行操作模式,主要包括:用户模式、特权模式、全局配置模式、端口模式等几种。 用户模式 进入交换机后得到的第一个操作模式,该模式下可以简单查看交换机的

2、软、硬件版本信息,并进行简单的测试。用户模式提示符为switch 特权模式 由用户模式进入的下一级模式,该模式下可以对交换机的配置文件进行管理,查看交换机的配置信息,进行网络的测试和调试等。特权模式提示符为switch# 全局配置模式 属于特权模式的下一级模式,该模式下可以配置交换机的全局性参数(如主机名、登录信息等)。在该模式下可以进入下一级的配置模式,对交换机具体的功能进行配置。全局模式提示符为switch(config)# 端口模式 属于全局模式的下一级模式,该模式下可以对交换机的端口进行参数配置。端口模式提示符为switch(config-if)#交换机的基本操作命令包括: Exit命

3、令是退回到上一级操作模式。 End命令是指用户从特权模式以下级别直接返回到特权模式。 交换机命令行支持获取帮助信息、命令的简写、命令的自动补齐、快捷键功能。配置交换机的设备名称和配置交换机的描述信息必须在全局配置模式下执行。 Hostname配置交换机的设备名称。 当用户登录交换机时,你可能需要告诉用户一些必要的信息。你可以通过设置标题来达到这个目的。你可以创建两种类型的标题:每日通知和登录标题。 Banner motd配置交换机每日提示信息motd message of the day。 Banner login配置交换机登录提示信息,位于每日提示信息之后。 查看交换机的系统和配置信息命令要

4、在特权模式下执行。a) Show version查看交换机的版本信息,可以查看到交换机的硬件版本信息和软件版本信息,用于进行交换机操作系统升级时的依据。b) Show mac-address-table查看交换机当前的MAC地址表信息。Show running-config查看交换机当前生效的配置信息。5、实验目的:掌握交换机命令行各种操作模式的区别,能够使用各种帮助信息,以及用命令进行基本的配置。6、实验内容:假设是某公司新进的网管,公司要求你熟悉网络产品,公司采用全系列锐捷网络产品,首先要求你登录交换机,了解、掌握交换机的命令行操作技巧,以及如何使用一些基本命令进行配置。需要在交换机上熟悉

5、各种不同的配置模式以及如何在配置模式间切换,使用命令进行基本的配置,并熟悉命令行界面的操作技巧。7、实验器材(设备、元器件): 三层交换机1台8、实验步骤:第一步:交换机各个操作模式直接的切换第二步:交换机命令行界面基本功能第三步:配置交换机的名称和每日提示信息第四步:配置接口状态第五步:查看交换机的系统和配置信息第六步:保存配置9、实验数据及结果分析:SW-1#show running-configBuilding configuration.Current configuration : 984 bytes!version 12.1no service timestamps log dat

6、etime msecno service timestamps debug datetime msecno service password-encryption!hostname SW-1!interface FastEthernet0/1 duplex half speed 10!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!i

7、nterface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interf

8、ace FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface Vlan1 no ip address shutdown!banner motd CC!line con 0!line vty 0 4 loginline vty 5 15 login!end结果分析:交换机的基本配置成功。10、实验结论:交换机存在不同的配置模式,且

9、各模式之间可以相互转换。11、总结及心得体会:本次实验中对交换机的基本配置的学习研究有了新的体会,掌握了计算机上配置交换机的基本配置步骤,交换机命令行各种模式的区别,以及模式之间的切换。12、对本实验过程及方法、手段的改进建议:应该给学生看一下真正的交换机,让学生对交换机有基本的了解。 报告评分: 指导教师签字:实验二电 子 科 技 大 学实 验 报 告学生姓名: 学 号: 指导教师:实验地点:计算机学院三楼机房 实验时间: 一、实验室名称:计算机学院机房 二、实验项目名称:跨交换机实现VLAN三、实验学时:4四、实验原理:VLAN(Virtual Local Area Network,虚拟局

10、域网)是指在一个物理网段内,进行逻辑的划分,划分成若干个虚拟局域网。VLAN最大的特性是不受物理位置的限制,可以进行灵活的划分。VLAN具备了一个物理网段所具备的特性。相同VLAN内的主机可以互相直接访问,不同VLAN间的主机之间互相访问必须经由路由设备进行转发。广播数据包只可以在本VLAN内进行传播,不能传输到其他VLAN中。Port Vlan是实现VLAN的方式之一,Port Vlan是利用交换机的端口进行VLAN的划分,一个端口只能属于一个VLAN。Tag Vlan是基于交换机端口的另外一种类型,主要用于实现跨交换机的相同VLAN内主机之间可以直接访问,同时对于不同VLAN的主机进行隔离

11、。Tag Vlan遵循了IEEE802.1q协议的标准。在利用配置了Tag vlan的接口进行数据传输时,需要在数据帧内添加4个字节的802.1q标签信息,用于标识该数据帧属于哪个VLAN,以便于对端交换机接收到数据帧后进行准确的过滤。五、实验目的:掌握如何在交换机上划分基于端口的VLAN、如何给VLAN内添加端口,理解跨交换机之间VLAN的特点。六、实验内容:假设某企业有两个主要部门:销售部和技术部,其中销售部门的个人计算机系统连接在不同的交换机上,他们之间需要相互进行通信,但为了数据安全起见,销售部和技术部需要进行相互隔离,现要在交换机上做适当配置来实现这一目标。通过划分Port VLAN

12、实现交换机的端口隔离,然后使在同一VLAN里的计算机系统能跨交换机进行相互通信,而在不同VLAN里的计算机系统不能进行相互通信。七、实验器材(设备、元器件):三层交换机 1台二层交换机 1台8、实验步骤:第一步:配置两台交换机的主机名第二步:在三层交换机上划分VLAN 添加端口第三步:在二层交换机上划分VLAN添加端口第四步:设置交换机之间的链路为Trunk第五步:查看VLAN和Trunk的配置第六步:验证配置9、实验数据及结果分析:实验数据:(1)每个交换机的配置文件内容:L2-SW:L2-SW#show running-configBuilding configuration.Curren

13、t configuration : 1224 bytes!version 12.1no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname L2-SW!interface FastEthernet0/1 switchport mode trunk!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interfa

14、ce FastEthernet0/5!interface FastEthernet0/6 switchport access vlan 10 switchport mode access!interface FastEthernet0/7 switchport access vlan 10 switchport mode access!interface FastEthernet0/8 switchport access vlan 10 switchport mode access!interface FastEthernet0/9 switchport access vlan 10 swit

15、chport mode access!interface FastEthernet0/10 switchport access vlan 10 switchport mode access!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEt

16、hernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface Vlan1 no ip address shutdown!line con 0!line vty 0 4 loginline vty 5 15 login!endL3-SW:L3-SW#show running-configBuild

17、ing configuration.Current configuration : 1613 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname L3-SW!interface FastEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/

18、2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6 switchport access vlan 10 switchport mode access!interface FastEthernet0/7 switchport access vlan 10 switchport mode access!interface FastEthernet0/8 switchport access vlan 10 switchport mode ac

19、cess!interface FastEthernet0/9 switchport access vlan 10 switchport mode access!interface FastEthernet0/10 switchport access vlan 10 switchport mode access!interface FastEthernet0/11 switchport access vlan 20 switchport mode access!interface FastEthernet0/12 switchport access vlan 20 switchport mode

20、 access!interface FastEthernet0/13 switchport access vlan 20 switchport mode access!interface FastEthernet0/14 switchport access vlan 20 switchport mode access!interface FastEthernet0/15 switchport access vlan 20 switchport mode access!interface FastEthernet0/16!interface FastEthernet0/17!interface

21、FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet0/1!interface GigabitEthernet0/2!interface Vlan1 no ip address shutdown!ip classless!line con 0l

22、ine vty 0 4 login!end(2)各个ping的测试结果截图:从PC3可以ping通PC1从PC3不能ping通PC2把PC1移到VLAN 20后也不能ping通结果分析:VLAN10内的主机可以相互通信,VLAN10和VLAN20内的主机不能相互通信十、实验结论:不同虚网之间不能直接通信11、总结及心得体会:本次实验让我学会了vlan的配置,机一部了解了vlan这个概念,并熟悉了更多的vlan配置命令,为以后更加复杂vlan配置实验打下了基础12、对本实验过程及方法、手段的改进建议:我觉着如果多增加两条虚网,学生的理解应该会跟深刻。 报告评分: 指导教师签字:实验三电 子 科

23、技 大 学实 验 报 告学生姓名: 学 号: 指导教师:实验地点:计算机学院三楼机房 实验时间:一实验室名称:计算机学院机房 二、实验项目名称:利用三层交换机实现VLAN间路由三、实验学时:4四、实验原理:在交换网络中,通过VLAN对一个物理网络进行了逻辑划分,不同的VLAN之间是无法直接访问的,必须通过三层的路由设备进行连接。一般利用路由器或三层交换机来实现不同VLAN之间的互相访问。三层交换机和路由器具备网络层的功能,能够根据数据的IP包头信息,进行选路和转发,从而实现不同网段之间的访问。直连路由是指:为三层设备的接口配置IP地址,并且激活该端口,三层设备会自动产生该接口IP所在网段的直连

24、路由信息。三层交换机实现VLAN互访的原理是,利用三层交换机的路由功能,通过识别数据包的IP地址,查找路由表进行选路转发。三层交换机利用直连路由可以实现不同VLAN之间的互相访问。三层交换机给接口配置IP地址,采用SVI(交换虚拟接口)的方式实现VLAN间互连。SVI是指为交换机中的VLAN创建虚拟接口,并且配置IP地址。五、实验目的:掌握如何在三层交换机上配置SVI端口,实现VLAN间的路由。6、实验内容:某企业有两个主要部门:销售部和技术部,其中销售部门的个人计算机系统分散连接在两台交换机上,他们之间需要相互进行通信,销售部和技术部也需要进行相互通信,现要在交换机上做适当配置来实现这一目标

25、。需要在网络内所有的交换机上配置VLAN,然后在三层交换机上给相应的VLAN设置IP地址,以实现VLAN间的路由。七、实验器材(设备、元器件):三层交换机 1台二层交换机 1台八.【实验步骤】第一步:配置两台交换机的主机名第二步:在三层交换机上划分VLAN 添加端口,并设置Trunk第三步:在二层交换机上划分VLAN添加端口,并设置Trunk第四步:查看VLAN和Trunk的配置第五步:验证配置第六步:在三层交换机上配置SVI端口第七步:启动三层交换机路由转发第八步:查看SVI端口的配置第九步:验证配置九、实验数据及结果分析:(1)交换机的配置文件内容:L3-SW:L3-SW#show run

26、ning-configBuilding configuration.Current configuration : 1681 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname L3-SW!ip routing!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!inte

27、rface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6 switchport access vlan 10 switchport mode access!interface FastEthernet0/7 switchport access vlan 10 switchport mode access!interface FastEthernet0/8 switchport access vlan 10 switchport mode access!interface FastEthernet0/9 s

28、witchport access vlan 10 switchport mode access!interface FastEthernet0/10 switchport access vlan 10 switchport mode access!interface FastEthernet0/11 switchport access vlan 20 switchport mode access!interface FastEthernet0/12 switchport access vlan 20 switchport mode access!interface FastEthernet0/

29、13 switchport access vlan 20 switchport mode access!interface FastEthernet0/14 switchport access vlan 20 switchport mode access!interface FastEthernet0/15 switchport access vlan 20 switchport mode access!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet0/1!in

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1