欢迎来到天天文库
浏览记录
ID:46863089
大小:91.00 KB
页数:4页
时间:2019-11-28
《02实验指导(PVST、portfast、uplinkfast、EtherChannel》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实验指导(PVSTnportfast、upIinkfast>EtherChannel)一、实验任务VLAN1.VLAN3VLAN2、VLAN41、利用以前的知识,创建VLAN2-VLAN42、配置:SW1为VLAN1和VLAN3的根桥;SW2为VLAN2和VLAN4的根桥3、配置:VLAN1和VLAN3通信使用SW1和SW2Z间的上面链路;VLAN2和VLAN4通信使用SW1和SW2之间的下面链路二、实验步骤1、清除交换机的配置(在三台交换机上执行):Switch#erasestartup-configSwitch#delet
2、eflash:vian.datSvitch#reload2、灌入预配:SI:======================================interfaceFastEthernetO/13switchporttrunkencapsulationdotlqswitchportmodetrunkinterfaceFastEthernetO/14switchporttrunkencapsulationdotlqswitchportmodetrunkinterfaceFastEthernetO/15switchport
3、trunkencapsulationdotlqswitchportmodetrunkVian2Vian3Vian4KQ乙.interfaceFastEthernetO/13switchporttrunkencapsulationdotlqswitchportmodetrunkinterfaceFastEthernetO/14switchporttrunkencapsulationdotlqswitchportmodetrunkinterfaceFastEthernetO/15switchporttrunkencapsulati
4、ondotlqswitchportmodetrunkVian2Vian3Vian4S3:===========interfaceFastEthernetO/1switchportmodetrunkinterfaceFastEthernctO/1switchportmodetrunkVian2Vian3Vian43、查看默认STP:Sliishowsparrning-treevlan1S2#showsparming-treevlan1S3#showspanning-treevlan1VLAN0001SpanningRootIDt
5、reeenabledPriorityAddressThisbridgeHelloTimeprotocolicee327690009.b7a4.c380isthe2secrootMaxAge20secForwardDelay15secBridgeIDPriorityAddressHelloTimeAgingTime32769InterfaceFa0/lFaO/2(priority32768sys-id-ext1)0009.b7a4.c3802secMaxAge20secForwardDelay15sec300RoleStsCos
6、tPrio.NbrTypeDesgFWD19DesgFWD1912&1P2p12&2P2用以上命令画出各个VLAN默认的STP树的情况。4、配置STPSW1:spanning-treesparrnin£-treespanning-treespanning-treevlan1vlan3vlan2vlan4prioritypriorityprioritypriority4096409681928192SW2:sparmi昭一treespanning-treespanning-treesparming-lrcovlan2vlan4v
7、lan1vlan3prioritypriorityprioritypriority4096409681928192SW1:intfO/14(下面的链路)sparrning-trcevlan2cost4spanning-treevian4cost4SW2:intfO/13(上面的链路)spanning-treevlan1cost4spanning-treevlan3cost45、检査STP树Sliishowsparrning-treevlan1S2#showsparming-treevlan1S3#showsparmingtre
8、evlan1用以上命令画出各个VLAN默认的STP树的情况6>配置portfastSI(config)#interfacerangefO/1-4SI(config-if)#switchportmodeaccessSI(config-if)#spanning-treeportf
此文档下载收益归作者所有