CCNA Experiment 13 STP Load Balancer

Source: Internet
Author: User

CCNA Experiment 13 STP the Load Balancer

Environment: Windows XP , GNS3.0.7

Purpose: Learn how to Achieve load balancing in STP

Description: The load balancing of STP is actually the use of another blocking link in the loop to share the load in the network

steps:

Open the GNS to build the project with the following topology:

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_12903238230y3w.gif "/>

  

Note: to SW1 and the SW2 Two devices add switch module ("Nm-16esw"), View two devices Console Port:

SW1 : 2002 , SW2 : 2003.

2 , Configuration SW1 , SW2

A , open cmd command-line Input " telnet 127.0.0.1 2002 the login SW1 to do the following:

router>en

Router#conf T

Router (config) #host SW1

SW1 (config) #exit

Sw1#vlan Database

SW1 (VLAN) #vlan name V10

SW1 (VLAN) #vlan name V20

SW1 (VLAN) #exit

Sw1#conf T

SW1 (config) #int range fa0/0, FA0/5

SW1 (config-if-range) #switchport trunk Encapsulation dot1q

SW1 (config-if-range) #switchport mode trunk

SW1 (config-if-range) #no sh

SW1 (Config-if-range) #end

B , open cmd command-line Input " telnet 127.0.0.1 2003 the login SW2 to do the following:

router>en

Router#conf T

Router (config) #host SW2

SW2 (config) #exit

Sw2#vlan Database

SW2 (VLAN) #vlan name V10

SW2 (VLAN) #vlan name V20

SW2 (VLAN) #exit

Sw2#conf T

SW2 (config) #int range fa0/0, FA0/5

SW2 (config-if-range) #switchport trunk Encapsulation dot1q

SW2 (config-if-range) #switchport mode trunk

SW2 (config-if-range) #no sh

SW2 (Config-if-range) #end

sw2#

C , view SW1 of the VLAN 10 and VLAN 20 in STP Status:

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_1290324114nasg.gif "/>

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_1290324173zSVZ.gif "/>

D , view SW2 of the VLAN 10 and VLAN 20 in STP Status:

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_1290324285O9uJ.gif "/>


650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_1290324292ai1H.gif "/>

3 , analyze the current environment

     the situation viewed from abovecan be seen inSW1as the root bridge,SW2of theFA0/5the port is in a blocked state, andVLAN Tenand theVlan20are inSW1with theSW2of thefa0/0---fa0/0a link running above, which obviously wasted the linkFA0/5-FA0/5, whilefa0/0-fa0/0there are two of them running on this link .VLANIt's a lot of pressure..so the shunt, which is load balancing, allowsVLAN TenRunfa0/0-fa0/0, VLANRunFA0/5-FA0/5. The following is a load balancing configuration operation.

4. Log in to SW1 to do the following:

sw1>en

Sw1#conf T

SW1 (config) #int FA0/5

SW1 (config-if) #spanning-tr VLAN port-priority 16

SW1 (config-if) #end

Check Again SW2 on VLAN Ten and the VLAN State of:

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_1290324930Irg8.gif "/>

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_1290324936VBNt.gif "/>


apparently nowVLAN Tenrunning inSW1and theSW2of thefa0/0-fa0/0this link, andVLANrunning inSW1and theSW2of theFA0/5-FA0/5this link, so the purpose of load balancing has been achieved.


This article from "Liu Fengyuan" blog, declined reprint!

CCNA Experiment 13 STP Load Balancer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.