网络设备配置和调试.docx
《网络设备配置和调试.docx》由会员分享,可在线阅读,更多相关《网络设备配置和调试.docx(12页珍藏版)》请在冰豆网上搜索。
网络设备配置和调试
《网络设备配置与调试》项目三实施报告
项目描述:
熟悉交换机上VLAN的创建及相关配置,给公司各部门划分相应的VLAN进行广播风暴的隔离控制并进行相关测试。
项目实施拓扑图:
项目实施基本要求:
(1)正确选择设备并使用线缆连接;
(2)正确给各个PC配置相关IP地址及子网掩码等参数;
(3)在SW1上配置相关VLAN,并把交换机相应的端口添加到VLAN中。
用相关显示命令查看配置结果。
(4)在SW2上配置相关VLAN,并把交换机相应的端口添加到VLAN中。
用相关显示命令查看配置结果。
(5)在SW3上配置相关VLAN,并把交换机相应的端口添加到VLAN中。
用相关显示命令查看配置结果。
(6)在SW4上进行相关配置,使得不同交换机上的相同部门PC(如销售部PC1和销售部PC3)可以相互访问。
项目拓展要求(选做):
如何配置下面网络拓扑图中的两个交换机,使得两个不同VLAN中的PC能相互访问。
Switch>en
Switch>conf
Switch>en
Switch#conf
Configuringfromterminal,memory,ornetwork[terminal]?
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Switch(config)#in
Switch(config)#VLAN10
Switch(config-vlan)#exit
Switch(config)#in
Switch(config)#interfacera
Switch(config)#interfacerangef0/5
Switch(config-if-range)#sw
Switch(config-if-range)#switchportac
Switch(config-if-range)#switchportaccessvlan10
Switch(config-if-range)#exit
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I:
Configuredfromconsolebyconsole
Switch#conf
Configuringfromterminal,memory,ornetwork[terminal]?
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Switch(config)#in
Switch(config)#interfacera
Switch(config)#interfacerangef0/5
Switch(config-if-range)#sw
Switch(config-if-range)#switchportmode?
accessSettrunkingmodetoACCESSunconditionally
dynamicSettrunkingmodetodynamicallynegotiateaccessortrunkmode
trunkSettrunkingmodetoTRUNKunconditionally
Switch(config-if-range)#switchportmode
%Incompletecommand.
Switch(config-if-range)#?
cdpGlobalCDPconfigurationsubcommands
channel-groupEtherchannel/portbundlingconfiguration
channel-protocolSelectthechannelprotocol(LACP,PAgP)
descriptionInterfacespecificdescription
duplexConfigureduplexoperation.
exitExitfrominterfaceconfigurationmode
mdixSetMediaDependentInterfacewithCrossover
mlsmlsinterfacecommands
noNegateacommandorsetitsdefaults
shutdownShutdowntheselectedinterface
spanning-treeSpanningTreeSubsystem
speedConfigurespeedoperation.
storm-controlstormconfiguration
switchportSetswitchingmodecharacteristics
tx-ring-limitConfigurePAleveltransmitringlimit
Switch(config-if-range)#sw
Switch(config-if-range)#switchport?
accessSetaccessmodecharacteristicsoftheinterface
modeSettrunkingmodeoftheinterface
nativeSettrunkingnativecharacteristicswheninterfaceisin
trunkingmode
nonegotiateDevicewillnotengageinnegotiationprotocolonthis
interface
port-securitySecurityrelatedcommand
prioritySetappliance802.1ppriority
trunkSettrunkingcharacteristicsoftheinterface
voiceVoiceapplianceattributes
Switch(config-if-range)#switchport?
accessSetaccessmodecharacteristicsoftheinterface
modeSettrunkingmodeoftheinterface
nativeSettrunkingnativecharacteristicswheninterfaceisin
trunkingmode
nonegotiateDevicewillnotengageinnegotiationprotocolonthis
interface
port-securitySecurityrelatedcommand
prioritySetappliance802.1ppriority
trunkSettrunkingcharacteristicsoftheinterface
voiceVoiceapplianceattributes
Switch(config-if-range)#switchportmode?
mode
Switch(config-if-range)#exit
Switch(config)#in
Switch(config)#interfacef0/5
Switch(config-if)#sw
Switch(config-if)#switchportmode
Switch(config-if)#switchportmode?
accessSettrunkingmodetoACCESSunconditionally
dynamicSettrunkingmodetodynamicallynegotiateaccessortrunkmode
trunkSettrunkingmodetoTRUNKunconditionally
Switch(config-if)#switchportmodetr
Switch(config-if)#switchportmodetrunk
%LINEPROTO-5-UPDOWN:
LineprotocolonInterfaceFastEthernet0/5,changedstatetodown
%LINEPROTO-5-UPDOWN:
LineprotocolonInterfaceFastEthernet0/5,changedstatetoup
Switch(config-if)#exit
项目实施过程及测试结果:
1、销售部PC1、人事部PC1、销售部PC3、研发部PC1、研发部PC2、财务部PC等配置相关IP地址及子网掩码等参数截图
2、交换机配置信息(showrunning结果)
一楼交换机SW1的配置:
SW1>en
SW1#showrun
SW1#showrunning-config
Buildingconfiguration...
Currentconfiguration:
1276bytes
!
version12.2
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
!
hostnameSW1
!
!
!
interfaceFastEthernet0/1
switchportaccessvlan10
!
interfaceFastEthernet0/2
switchportaccessvlan10
!
interfaceFastEthernet0/3
switchportaccessvlan10
!
--More--
二楼交换机SW2的配置
SW1>en
SW1#showrun
SW1#showrunning-config
Buildingconfiguration...
Currentconfiguration:
1276bytes
!
version12.2
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
!
hostnameSW1
!
!
!
interfaceFastEthernet0/1
switchportaccessvlan10
!
interfaceFastEthernet0/2
switchportaccessvlan10
!
interfaceFastEthernet0/3
switchportaccessvlan10
!
--More--
三楼交换SW3的配置
SW1>en
SW1#showrun
SW1#showrunning-config
Buildingconfiguration...
Currentconfiguration:
1276bytes
!
version12.2
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
!
hostnameSW1
!
!
!
interfaceFastEthernet0/1
switchportaccessvlan10
!
interfaceFastEthernet0/2
switchportaccessvlan10
!
interfaceFastEthernet0/3
switchportaccessvlan10
!
--More--
网络中心交换机SW4配置
SW1>en
SW1#showrun
SW1#showrunning-config
Buildingconfiguration...
Currentconfiguration:
1276bytes
!
version12.2
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
!
hostnameSW1
!
!
!
interfaceFastEthernet0/1
switchportaccessvlan10
!
interfaceFastEthernet0/2
switchportaccessvlan10
!
interfaceFastEthernet0/3
switchportaccessvlan10
!
--More--
3、相关测试截图
销售部PC1ping销售部PC3结果截图
研发部PC1ping研发部PC2结果截图
人事部PC1ping财务部PC结果截图
您好,欢迎您阅读我的文章,本WORD文档可编辑修改,也可以直接打印。
阅读过后,希望您提出保贵的意见或建议。
阅读和学习是一种非常好的习惯,坚持下去,让我们共同进步。