当前位置:文档之家› 网络设备配置与调试

网络设备配置与调试

《网络设备配置与调试》项目三实施报告项目描述:熟悉交换机上VLA N的创建及相关配置,给公司各部门划分相应的VLAN进行广播风暴的隔离控制并进行相关测试。

项目实施拓扑图:项目实施基本要求:(1)正确选择设备并使用线缆连接;(2)正确给各个PC配置相关IP地址及子网掩码等参数;(3)在SW1上配置相关VLAN并把交换机相应的端口添加到看配置结果。

(4)在SW2上配置相关VLAN并把交换机相应的端口添加到看配置结果。

(5)在SW3上配置相关VLAN并把交换机相应的端口添加到看配置结果。

(6)在SW4上进行相关配置,使得不同交换机上的相同部门P Q如销售部PC1和销售部PC3)可以相互访问。

项目拓展要求(选做)如何配置下面网络拓扑图中的两个交换机,使得两个不同VLAN中的VLAN中。

用相关显示命令查VLAN中。

用相关显示命令查VLAN中。

用相关显示命令查PC能相互访问。

Switch>e nSwitch>c onfSwitch>e nSwitch#c onfCon figuri ng from termi nal, memory, or n etwork [term in al]?En ter con figurati on comma nds, one per line. End with CNTL/Z.Switch(c on fig)# inSwitch(co nfig)#VLAN 10Switch(c on fig-vla n)#exitSwitch(c on fig)# inSwitch(c on fig)#i nterface raSwitch(c on fig)#i nterface range fO/5Switch(c on fig-if-ra nge)#swSwitch(c on fig-if-ra nge)#switchport acSwitch(c on fig-if-ra nge)#switchport access vla n 10Switch(c on fig-if-ra nge)#exitSwitch(c on fig)#exitSwitch#%SYS-5-CONFIG_l: Con figured from con sole by con soleSwitch#c onfCon figuri ng from termi nal, memory, or n etwork [term in al]?En ter con figurati on comma nds, one per line. End with CNTL/Z.Switch(c on fig)# inSwitch(c on fig)#i nterface raSwitch(c on fig)#i nterface range f0/5Switch(c on fig-if-ra nge)#swSwitch(c on fig-if-ra nge)#switchport mode ?access Set trunking mode to ACCESS uncon diti on allydyn amic Set trunking mode to dyn amically n egotiate access or trunkmode trunk Set trunking mode to TRUNK uncon diti on allySwitch(c on fig-if-ra nge)#switchport mode% In complete comma nd.Switch(c on fig-if-ra nge)#?cdp Global CDP con figuratio n subcomma nds FO/2 152 166 1 1J > vim 10192 IbS, 12 vlan 20 PC-PTPCDFO/2 PC-PT PCIchannel-group Etherchannel/port bundling configuration channel-protocol Select the channel protocol (LACP, PAgP)description duplex exit mdix mlsInterface specific descriptionConfigure duplex operation.Exit from interface configuration modeSet Media Dependent Interface with Crossover mls interface commandsno shutdown Negate a command or set its defaults Shutdown the selected interfacespanning-tree Spanning Tree Subsystem speed Configure speed operation. storm-control storm configurationswitchport tx-ring-limitSet switching mode characteristics Configure PA level transmit ring limitSwitch(config-if-range)#sw Switch(config-if-range)#switchportaccess mode Set access mode characteristics of the interface Set trunking mode of the interfacenative Set trunking native characteristics when interface is in trunking modenonegotiate Device will not engage in negotiation protocol on this interfaceport-security Security related command priority Set appliance 802.1p priority trunk Set trunking characteristics of the interfacevoice Voice appliance attributesSwitch(config-if-range)#switchport ?access Set access mode characteristics of the interfacemode Set trunking mode of the interfacenative Set trunking native characteristics when interface is intrunking modenonegotiate Device will not engage in negotiation protocol on this interfaceport-security Security related commandpriority trunk voice Set appliance 802.1p prioritySet trunking characteristics of the interface Voice appliance attributesSwitch(config-if-range)#switchport mode? modeSwitch(config-if-range)#exitSwitch(config)#inSwitch(config)#interface f0/5Switch(config-if)#swSwitch(config-if)#switchport modeSwitch(c on fig-if)#switchport mode ?access Set trunking mode to ACCESS uncon diti on allydyn amic Set trunking mode to dyn amically n egotiate access or trunk mode trunk Set trunking mode to TRUNK uncon diti on allySwitch(c on fig-if)#switchport mode trSwitch(c on fig-if)#switchport mode trunk%LINEPROTO-5-UPDOWN: Line protocol on In terface FastEthernetO/5, cha nged state to dow n%LINEPROTO-5-UPDOWN: Line protocol on In terface FastEthernetO/5, cha nged state toupSwitch(c on fig-if)#exit项目实施过程及测试结果:1销售部PC1人事部PC1、销售部PC3研发部PC1、研发部PC2、财务部PC等配置相关IP地址及子网掩码等参数截图动态获取IP蜃数©静态團蛊IP参数IP 地址192.168.1*10子网1S 冯2S5.25S.2S5.0物理旣置卓面艺硏发部PCI物理I适J桌面IP配置IP3剑客论坛汉化■动态鉄取IP参数静态駅置IP蜃颓IP地扯子网摘码默认网关厦于发部PCI物理旣董卓面192.1&8,1,14 255,255,255.0IP配置IP3剑客论坛汉化【P地址子网掩码默认网关IP 配置 IF3剑客论坛汉化C ■:动态荻取IP 参数静态歐蛊IP 参数IP 地址 子网攔码默认网关2、交换机配置信息(show running 结果) 一楼交换机SW1的配置:SW1>e nSW1#show runSW1#show runnin g-c onfigBuildi ng con figurati on...Current configuration : 1276 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msec noservice password-e ncrypti on!host name SW1 in terface FastEthernetO/1 switchportaccess vlan 10 !in terface FastEthernet0/2switchport access vlan 10 !in terface FastEthernetO/3switchport access vlan 10--More--二楼交换机SW2的配置SW1>en物理 桌面 192.168.1.15255.255,255.0 甲财务部PCSW1#show runSW1#show running-configBuilding configuration...Current configuration : 1276 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname SW1 interface FastEthernet0/1 switchport access vlan 10!interface FastEthernet0/2switchport access vlan 10!interface FastEthernet0/3 switchport access vlan 10 ! --More--三楼交换SW3的配置SW1>enSW1#show runSW1#show running-configBuilding configuration...Current configuration : 1276 bytes !version 12.2no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !hostname SW1 interface FastEthernet0/1switchport access vlan 10!interface FastEthernet0/2switchport access vlan 10!interface FastEthernet0/3switchport access vlan 10!--More--网络中心交换机SW4配置SW1>enSW1#show runSW1#show running-configBuilding configuration...Current configuration : 1276 bytes!version 12.2no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !hostname SW1 interface FastEthernet0/1 switchport access vlan 10 !interface FastEthernet0/2 switchport access vlan 10 !interface FastEthernet0/3switchport access vlan 10 --More--3、相关测试截图销售部PC1 ping销售部PC3结果截图研发部PC1 ping研发部PC2结果截图。

相关主题