1、网络设备配置与调试网络设备配置与调试项目三实施报告项目描述:熟悉交换机上VLAN的创建与相关配置,给公司各部门划分相应的VLAN进展广播风暴的隔离控制并进展相关测试。项目实施拓扑图:项目实施根本要求:1正确选择设备并使用线缆连接;2正确给各个PC配置相关IP地址与子网掩码等参数;3在SW1上配置相关VLAN,并把交换机相应的端口添加到VLAN中。用相关显示命令查看配置结果。4在SW2上配置相关VLAN,并把交换机相应的端口添加到VLAN中。用相关显示命令查看配置结果。5在SW3上配置相关VLAN,并把交换机相应的端口添加到VLAN中。用相关显示命令查看配置结果。6在SW4上进展相关配置,使得不
2、同交换机上的一样部门PC如销售部PC1和销售部PC3可以相互访问。项目拓展要求选做:如何配置下面网络拓扑图中的两个交换机,使得两个不同VLAN中的PC能相互访问。SwitchenSwitchconfSwitchenSwitch#confConfiguring from terminal, memory, or network terminal? Enter configuration mands, one per line. End with TL/Z.Switch(config)#inSwitch(config)#VLAN 10Switch(config-vlan)#exitSwitch(c
3、onfig)#inSwitch(config)#interface raSwitch(config)#interface range f0/5Switch(config-if-range)#swSwitch(config-if-range)#switchport acSwitch(config-if-range)#switchport access vlan 10Switch(config-if-range)#exitSwitch(config)#exitSwitch#%SYS-5-CONFIG_I: Configured from console by consoleSwitch#confC
4、onfiguring from terminal, memory, or network terminal? Enter configuration mands, one per line. End with TL/Z.Switch(config)#inSwitch(config)#interface raSwitch(config)#interface range f0/5Switch(config-if-range)#swSwitch(config-if-range)#switchport mode ? access Set trunking mode to ACCESS uncondit
5、ionally dynamic Set trunking mode to dynamically negotiate access or trunk mode trunk Set trunking mode to TRUNK unconditionallySwitch(config-if-range)#switchport mode % Inplete mand.Switch(config-if-range)#? cdp Global CDP configuration submands channel-group Etherchannel/port bundling configuratio
6、n channel-protocol Select the channel protocol (LACP, PAgP) description Interface specific description duplex Configure duplex operation. exit Exit from interface configuration mode mdix Set Media Dependent Interface with Crossover mls mls interface mands no Negate a mand or set its defaults shutdow
7、n Shutdown the selected interface spanning-tree Spanning Tree Subsystem speed Configure speed operation. storm-control storm configuration switchport Set switching mode characteristics tx-ring-limit Configure PA level transmit ring limitSwitch(config-if-range)#swSwitch(config-if-range)#switchport ?
8、access Set access mode characteristics of the interface mode Set trunking mode of the interface native Set trunking native characteristics when interface is in trunking mode nonegotiate Device will not engage in negotiation protocol on this interface port-security Security related mand priority Set
9、appliance 802.1p priority trunk Set trunking characteristics of the interface voice Voice appliance attributesSwitch(config-if-range)#switchport ? access Set access mode characteristics of the interface mode Set trunking mode of the interface native Set trunking native characteristics when interface
10、 is in trunking mode nonegotiate Device will not engage in negotiation protocol on this interface port-security Security related mand priority Set appliance 802.1p priority trunk Set trunking characteristics of the interface voice Voice appliance attributesSwitch(config-if-range)#switchport mode?mod
11、e Switch(config-if-range)#exitSwitch(config)#inSwitch(config)#interface f0/5Switch(config-if)#swSwitch(config-if)#switchport modeSwitch(config-if)#switchport mode ? access Set trunking mode to ACCESS unconditionally dynamic Set trunking mode to dynamically negotiate access or trunk mode trunk Set tr
12、unking mode to TRUNK unconditionallySwitch(config-if)#switchport mode trSwitch(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to upSwitch(config-if)#
13、exit项目实施过程与测试结果:1、销售部PC1、人事部PC1、销售部PC3、研发部PC1、研发部PC2、财务部PC等配置相关IP地址与子网掩码等参数截图2、交换机配置信息show running结果一楼交换机SW1的配置: SW1enSW1#show runSW1#show running-config Building configuration.Current configuration : 1276 bytes!no service timestamps log datetime msecno service timestamps debug datetime msecno servi
14、ce password-encryption!hostname SW1!interface FastEthernet0/1 switchport access vlan 10!interface FastEthernet0/2 switchport access vlan 10!interface FastEthernet0/3 switchport access vlan 10! -More- 二楼交换机SW2的配置SW1enSW1#show runSW1#show running-config Building configuration.Current configuration : 1
15、276 bytes!no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname SW1!interface FastEthernet0/1 switchport access vlan 10!interface FastEthernet0/2 switchport access vlan 10!interface FastEthernet0/3 switchport access vlan 10! -More- 三楼
16、交换SW3的配置SW1enSW1#show runSW1#show running-config Building configuration.Current configuration : 1276 bytes!no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname SW1!interface FastEthernet0/1 switchport access vlan 10!interface FastEth
17、ernet0/2 switchport access vlan 10!interface FastEthernet0/3 switchport access vlan 10! -More- 网络中心交换机SW4配置SW1enSW1#show runSW1#show running-config Building configuration.Current configuration : 1276 bytes!no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname SW1!interface FastEthernet0/1 switchport access vlan 10!interface FastEthernet0/2 switchport access vlan 10!interface FastEthernet0/3 switchport access vlan 10! -More- 3、相关测试截图销售部PC1 ping 销售部PC3结果截图研发部PC1 ping 研发部PC2结果截图人事部PC1 ping 财务部PC结果截图
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1