最新计算机网络实验四交换机端口的配置.docx

上传人:doc321 文档编号:14844631 上传时间:2022-02-21 格式:DOCX 页数:19 大小:1.09MB
返回 下载 相关 举报
最新计算机网络实验四交换机端口的配置.docx_第1页
第1页 / 共19页
最新计算机网络实验四交换机端口的配置.docx_第2页
第2页 / 共19页
亲,该文档总共19页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《最新计算机网络实验四交换机端口的配置.docx》由会员分享,可在线阅读,更多相关《最新计算机网络实验四交换机端口的配置.docx(19页珍藏版)》请在三一文库上搜索。

1、如有侵权请联系网站删除,仅供学习交流计算机网络实验四交换机端口的配置新疆师范大学计算机科学技术学院实验报告实验名称:实验四交换机端口的配置姓名:木拉提。巴力 学号:25号专业:计算机科学与技术班级:2011-1课程名称:计算机网络(1)课程类型:专业必修课实验时间:2012年03月24日任课教师:潘伟民 评定成绩:年 月 日实验目的和要求:1 .掌握对交换机端口进行配置的命令。2 .掌握配置交换机端口安全性的命令。3 .掌握测试交换机端口安全性的方法。实验内容与结果:1 .掌握以太网交换机单个端口和多个端口的配置命令。2 .掌握交换机MAC地址表的显示和操作命令。3 .掌握交换机的端口安全性配

2、置命令。4 .掌握交换机配置文件保存命令实验结果:1、使用Packet Tracer软件搭建如下图所示的实验拓扑环境。(提交.pkt 文件)图12、在图形界面下分别为每台PC机配置IP地址为173. 16. 1. 2 173. 16. 1. 5,子网掩码为 255.255. 0.0,网关地址为 173. 16. 1. 1, DNS 的地 址为173. 16. 1. 254。用ping命令测试各主机之间的连通性。(提交每台PC 命令窗口剪切图)仅供学习交流PCO ip设置PCI ip设置PC2 ip设置PC3 ip设置用Ping命令验证各主机的连同性:PCOPC1PC2 PC3物理命令提示符PC

3、ipconigIP AddreasSubnet MaskDefault GatewayPCping 173.1,1.ZReplyReply ReplyReplyPackets; SentPCping 173.1-6.1.2ReplyReplyReplyRepHyfrom 173.16.1.3:from 173.16.1.3:PCping 173.16.1.4:from 173.1G.1.4:from 173.16.1.4:from 173.1G.1.4:from 173.16.1.4:Packets; Sent173.16.1.1-time=10ms TTL=L2 8-time=Llms TT

4、L=L2 8Time=5ins TTL=128Time=13ms TTL=12 84, Recexve-d = 4, Lo-st = (0% loss,Xiine=14in3TTL=L2 8Xime=14in3TTL=12 8xime=llmsTJL=12 8Xime=llnisTTL=L2 8-time=LlmsTTL=12 8time=14msTTL=12 8time=12maTTL=12 8time=12msTTL=12 84, Received = 4, Last= (0% loss).桌面IP3剑客论坛汉化 慧桥通信思科byt5G3=32 byDea=32bytea=32 byte3

5、=32 byteg=32 byteg=32=0 (0% loss).173.16.1.5255.255.0,0Packet Tracer PC Command Line 1.0Pinging 173.1 ,2 with 32 bytes of data:from 172.16.1.2: bytea=32from 172.16.1.2: bytea=32from 173.1G.L.2: byteg=32from 173.16.1.2: byteg=32Ping scaBistics for 173.16,1.2:Approxxmate round trip t;xmes in milH-seco

6、nds zMinimum. = 5msr Majcirnum = 13ms. Average = 9msPinging 173with 32 bytes of data:from 173.16.1.3; bytes=32from 173.16.1.3: byte9=32Ping statistics for 173.16.L.3:Packets: Sent = 4, Reeeive-d = 4, L&stApproximate round trip rimea in milli-gGconds:Minimuin. = lima. Maximum = 14ms, Average = 12msPi

7、nging 173.16-1.4 with 32 bytes of data:Reply Reply Reply ReplyPing statistics for 173,16.1.4:Approximate round crip times ixi xnlllx-secondszMinxinum. = llmsr Maximum = 14msF Ave r age = 12msPC33、将主机2的MAC地址与交换机1的faO/4端口绑定,主机3的MAC地 址与交换机2的faO/2端口绑定,并设置为当违反端口安全性时该端口关闭并 验证此项设置的安全性。(提交配置过程命令窗口剪切图)年 Swit

8、chl一 一. j o 回 1物理|酉蚩命令行IP3剑客论坛汉化-bbs 慧桥通信思科认证培训巾心%LINEPROTO-S-UPIXWN: Line protccol on Interface FastEthernetO/4r changed state z o upSwitchenableSwitch#config zZnter configuration eoirmanda, ena par line. 2nd with CNTL/Z. Switch(config)#interfase faO/4% Invalid input detected at 八 marker.Switch(con

9、fig)#interface faO/4SwitcH enableSwitch#config zZnQS configuration coxnmanda, one per line. Znd with CNTL/2.Switch(config)finterface faO/2Switch(config-if)Sswitchport port-security maximum 1Switch(config-if)#switchport port-security mac-address 0060.2FCC.96A8Total secure mac-addresses on interface F

10、astE*hernetO/2 has reached maximum 工ini z.Switch(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleSwitch#show port-security addressSecure Mac Address TableVian Mac Address TypePortsRemaining Age(mins)Total Addresses in System (excluding one mac per port): 0=Max Addresses limit in Sys

11、ten. (excluding one nac per port) : 1024Switch#)IN制11粘贴I验证是否绑定物理配置命令行剑客论坛汉化- b 慧桥通信思科认证培训中,SwitehenableSwitch#config rEnter configuratioa conraandsr one per line. End with CNTL/Z. Switch(config)tend Switch# %SyS-S-CONFIG-I: Configured from caasole by cansoXe:Swi zch config tZnter configuracxan comma

12、nds r one per line. Znd with CbTTL/Z .Switch(conrig)#int a0/4Switch (eonfig-if) swiehport post-see-uzityCommand rejected: FastEthernetO/4 is a dynamic port.三Switch (config-if) tswirchpart port-gec-uziry violation. shurdavmSwitch (confi-g-if) *丁实验问题:1.请总结端口安全性设置的条件是什么?答:暂时找不到答案,请老师讲解3.将PC3删除后,重新将PC2与端口 FastEthernetfO/4连接,但PC2无法 与PCO、PC1连通,为什么?答:暂时找不到答案,请老师讲解实验心得、总结:本次实验中我们学会了交换器的端口配置。掌握了一些配置命令和操作。 不仅提高了新的知识内容还增加了对计算机网络实验的感兴趣。

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1