欢迎来到天天文库
浏览记录
ID:41687615
大小:64.00 KB
页数:8页
时间:2019-08-30
《第四章配置VLAN负载均衡王文辉》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、配置VLAN负载均衡一.实验需求要求配置交换机,实现SW1成为1-2的根桥,SW2成为VLAN3-4的根桥,实现VLAN的负载均衡。二.拓扑图⑹巧Vltn3-vlan4的根网桥记5702的根网桥2960-24TTsw4£0/152960-24TTsw3三.配置VLAN,并更改接口为TRUNK模式39吉理员:Switch3CreatedbyXiaofanE:■口XRouterttshowulan-switch1ULANManeStatusPorts1defaultactiueFa0z0^Fa0/1..Fa0/2,1Fa0/4,Fa0/5.Fa0/6.Fa0/
2、7.
3、Fa0/8^Fa0/9.Fa0/10,Fa0/12<・Fa0/13!,PaH/14,FaH/15■2■JLAN0002actiue3■JLAN0003active■l4■JLAN0004active1002Fddi-defaultactiue■1003token-ring-defaultactive1004fddinet-defauItactiue■1005trnet-defaultactiueULANPypeSAIDMTUParentRingNoBridgeNoStpBrdgModeTrans!Trans21enet1000011500100210
4、0392enet1000021500MB00■3enet100003150000■4enet1000041500W0■1002Fddi1010021500MBa*11003.1003tr101003150010050srb11002■—MowBkRouterttvlandatabase进入VLAN数据模式Router(vlan)#vlan3建立VLAN巻理员:Switch1CreatedbyXiaofan
5、Routei*HswitchportnRoute^ttswitchportnodetRoute?6、g-if>ttswitchportmodetrunkRoutei*Winterfacef0/15Wlar1AA:A4:19・9?£:zDTP-R-TRIINKPORTON:RouterttRoutei*Winterfacef0/14Routei*ttswRoutet*ttswitchportnRoutei*ttswitc7、hpo>*tmodetrunkRouterMinterfacef0/14100:04:32.499:xDTP-5-TRUNKPORTON:RouterHRoute?ttRoutei«Winterfacef0/13Routei*ttRoutei*ttRoute)*#swRoutei*ttswitchpoi*tmRoutei*ttswitchportnodetRou8、te?ttswitchportnodetrunkRoutei*11100:04:47.983:zDTP-5-TRUNKPORTON:PortPortPortFaA/15Fa0/14Fa0/13hashashasheconebecomebecomedntlqdotlqdotlqtmmktrun5trunkRouter(config-if)#interfacefO/13进入接口Router(config-if)#switchportmodetrunk配置TRUNK,MODE是模式的意思四・更改STP中每个VLAN的优9、先级,实现VLAN负载均衡SBR:Switch1CreatedbyXiaofano回HRouter>Router>nRouter>Rout匕i*>RoRoRouterttRoutBLltconftRouterttconfterminalEnterconfigurationcommands,oneperline•RoutBMconfig>ttRouteMconFig>Itspanning-treeulan1priorityRouterttRouterCconfig10、>#Routei*ttRouter
6、g-if>ttswitchportmodetrunkRoutei*Winterfacef0/15Wlar1AA:A4:19・9?£:zDTP-R-TRIINKPORTON:RouterttRoutei*Winterfacef0/14Routei*ttswRoutet*ttswitchportnRoutei*ttswitc
7、hpo>*tmodetrunkRouterMinterfacef0/14100:04:32.499:xDTP-5-TRUNKPORTON:RouterHRoute?ttRoutei«Winterfacef0/13Routei*ttRoutei*ttRoute)*#swRoutei*ttswitchpoi*tmRoutei*ttswitchportnodetRou
8、te?ttswitchportnodetrunkRoutei*11100:04:47.983:zDTP-5-TRUNKPORTON:PortPortPortFaA/15Fa0/14Fa0/13hashashasheconebecomebecomedntlqdotlqdotlqtmmktrun5trunkRouter(config-if)#interfacefO/13进入接口Router(config-if)#switchportmodetrunk配置TRUNK,MODE是模式的意思四・更改STP中每个VLAN的优
9、先级,实现VLAN负载均衡SBR:Switch1CreatedbyXiaofano回HRouter>Router>nRouter>Rout匕i*>RoRoRouterttRoutBLltconftRouterttconfterminalEnterconfigurationcommands,oneperline•RoutBMconfig>ttRouteMconFig>Itspanning-treeulan1priorityRouterttRouterCconfig
10、>#Routei*ttRouter
此文档下载收益归作者所有