计算机网络实验报告58Word格式.docx
- 文档编号:19211150
- 上传时间:2023-01-04
- 格式:DOCX
- 页数:9
- 大小:175.23KB
计算机网络实验报告58Word格式.docx
《计算机网络实验报告58Word格式.docx》由会员分享,可在线阅读,更多相关《计算机网络实验报告58Word格式.docx(9页珍藏版)》请在冰豆网上搜索。
实验五:
利用三层交换机实现Vlan间的基本配置
实验六:
快速生成树配置
实验七:
路由器的基本配置
实验八:
路由器的单臂路由配置
小组合作
否
姓名
班级
学号
一、实验目的
对路由器命令行各种操作模式有了新的体验,在计算机上对路路由器各种操作模式进行配置,掌握路由器的各种操作模式之间的切换及区别,加深我们对实验原理的认识和理解,学会运用这用原理,学会了对IP地址的基本配置。
对路
二.实验环境
在CiscoPacketTracer的环境下
三.实验内容与步骤
利用三层交换机实现Vlan间路由的基本配置
Switch>
en
enable
Switch#conft
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Switch(config)#vlan2
Switch(config-vlan)#exit
Switch(config)#vlan3
Switch(config)#interfacefa0/2
Switch(config-if)#sw
Switch(config-if)#switchportaccessvlan2
Switch(config-if)#interfacefa0/1
Switch(config-if)#switchportmodee
Switch(config-if)#switchportmodeeexit
^
%Invalidinputdetectedat'
^'
marker.
Switch(config-if)#switchporttrunke
Switch(config-if)#switchporttrunkencapsulationd
Switch(config-if)#switchporttrunkencapsulationdot1q
Switch(config-if)#switchmodetrunk
Switch(config-if)#exit
Switch(config)#interfacevlan2
%LINK-5-CHANGED:
InterfaceVlan2,changedstatetoup
%LINEPROTO-5-UPDOWN:
LineprotocolonInterfaceVlan2,changedstatetoup
Switch(config-if)#ipaddress192.168.1.1255.255.255.0
Switch(config-if)#noshutdown
Switch(config)#interfacevlan3
InterfaceVlan3,changedstatetoup
LineprotocolonInterfaceVlan3,changedstatetoup
Switch(config-if)#ipaddress192.168.2.1255.255.255.0
Switch(config-if)#showip
Switch(config-if)#showiproute
Switch(config-if)#end
Switch#
%SYS-5-CONFIG_I:
Configuredfromconsolebyconsole
showiproute
Codes:
C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP
D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea
N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2
E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGP
i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea
*-candidatedefault,U-per-userstaticroute,o-ODR
P-periodicdownloadedstaticroute
Gatewayoflastresortisnotset
C192.168.1.0/24isdirectlyconnected,Vlan2
C192.168.2.0/24isdirectlyconnected,Vlan3
Switch#showvlan
Switch(config)#hostnamewtf
wtf(config)#interfacefa0/10
wtf(config-if)#switchportaccessvlan10
%AccessVLANdoesnotexist.Creatingvlan10
wtf(config-if)#exit
wtf(config)#int
wtf(config)#interfacerangefa0/1-2
wtf(config-if-range)#switchportmodetrunk
wtf(config-if-range)#exit
wtf(config)#sp
wtf(config)#spanning-treemodera
wtf(config)#spanning-treemoderapid-pvst
wtf(config)#intfa0/1
wtf(config-if)#shutdown
InterfaceFastEthernet0/1,changedstatetoadministrativelydown
LineprotocolonInterfaceFastEthernet0/1,changedstatetodown
wtf(config-if)#
Router(config-if)#end
Router#enable
Router#conf
Router#configuret
Router#configureterminal
Router(config)#hostnamewyy
wyy(config)#enable940421
wyy(config)#enablesecret940421
wyy(config)#exit
wyy#
exit
wyycon0isnowavailable
PressRETURNtogetstarted.
wyy>
enable
Password:
wyy#conf
wyy#configure
Configuringfromterminal,memory,ornetwork[terminal]?
wyy(config)#linevty04
wyy(config-line)#password211209
wyy(config-line)#login
wyy(config-line)#exit
wyy(config)#interfacefa
wyy(config)#interfacefastEthernet0/0
wyy(config-if)#ipaddress192.168.1.1255.255.255.0
wyy(config-if)#noshutdown
wyy(config-if)#exit
wyy(config)#
试验八:
Switch(config)#int
Switch(config)#interfacefa0/1
Switch(config-if)#int
Switch(config-if)#inte
Switch(config-if)#interfacefa0/2
Switch(config-if)#switchportaccessvlan3
Switch(config)#interfacefa0/24
Switch(config-if)#jsw
Switch(config-if)#switch
%Incompletecommand.
LineprotocolonInterfaceFastEthernet0/24,changedstatetodown
LineprotocolonInterfaceFastEthernet0/24,changedstatetoup
Switch#showrun
Buildingconfiguration...
Currentconfiguration:
1084bytes
!
version12.2
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
hostnameSwitch
interfaceFastEthernet0/1
switchportaccessvlan2
interfaceFastEthernet0/2
switchportaccessvlan3
interfaceFastEthernet0/3
interfaceFastEthernet0/4
--More--
四.实验总结
通过本次实验基本上全面了解了搭建网络过程中所涉及的各种重要的硬件设备,以及其特点,适用,连接和配置,通过交换机全局的基本配置,让我明白配置交换机设备的基本名称,我们要树立重视实践更甚于重视理论的观点,业余时间不断扩宽计算机网络硬件方面的知识,
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机网络 实验 报告 58