Hot Backup Routing Protocol (HSRP), pvst+ load-balanced configuration

Source: Internet
Author: User

First, the experimental environment

GNS3 simulation Software

Second, the experimental topology such as

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/50/wKiom1VFx1zzATEVAAH8teGKSYg989.jpg "title=" 1.jpg " alt= "Wkiom1vfx1zzatevaah8tegksyg989.jpg"/>

Third, IP address planning

1. The interface between the switches is all trunk

HSRP configured on 2.SW1 and SW2, active router priority is 150, backup router priority is 100

3. Configure the VLAN interface IP address on the SW1 switch

IP address of the VLAN 2 interface: 192.168.2.1/24

IP address of the VLAN 3 interface: 192.168.3.1/24

IP address of the VLAN 4 interface: 192.168.4.1/24

4. Configure the VLAN interface IP address on the SW2 switch

IP address of the VLAN 2 interface: 192.168.2.2/24

IP address of the VLAN 3 interface: 192.168.3.2/24

IP address of the VLAN 4 interface: 192.168.4.2/24

The 5.PC IP address and gateway are as follows

PC1 IP Address: 192.168.2.10/24, gateway to 192.168.2.254/24

PC2 IP Address: 192.168.3.10/24, gateway to 192.168.3.254/24

PC3 IP Address: 192.168.2.11/24, gateway to 192.168.2.254/24

PC4 IP Address: 192.168.4.10/24, gateway to 192.168.4.254/24

Iv. Description of requirements

When configuring VLAN load Balancing, use pvst+ and require VLAN 2 and VLAN 3, VLAN4 for load balancing

Five, the experimental steps

1. Configure basic information for the switch

Basic configuration of the SW1 switch

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/4B/wKioL1VFqq6Qm8SNAAJsU3lV1e0116.jpg "style=" float: none; "title=" 2.jpg "alt=" Wkiol1vfqq6qm8snaajsu3lv1e0116.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/4B/wKioL1VFqrDzOhleAAHiDfzq4Qc532.jpg "style=" float: none; "title=" 3.jpg "alt=" Wkiol1vfqrdzohleaahidfzq4qc532.jpg "/>



Basic configuration of the SW2 switch with the SW1 switch

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/4F/wKiom1VFqnGTk_gJAAOYTzXLD-M169.jpg "title=" 4.jpg " alt= "Wkiom1vfqngtk_gjaaoytzxld-m169.jpg"/>



Configuration on the SW3 switch

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/4B/wKioL1VFsQyiXdCCAAIIkVvLpM4570.jpg "title=" 5.jpg " alt= "Wkiol1vfsqyixdccaaiikvvlpm4570.jpg"/>



Basic configuration on the SW4 switch

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/4F/wKiom1VFr7Ch0qCVAAHDLbREAv4097.jpg "title=" 6.jpg " alt= "Wkiom1vfr7ch0qcvaahdlbreav4097.jpg"/>

Basic configuration of 2.HSRP

Configuration on the SW1 switch

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/50/wKiom1VFwZDRhbYIAAIS7M2caY0250.jpg "title=" 7.jpg " alt= "Wkiom1vfwzdrhbyiaais7m2cay0250.jpg"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/4C/wKioL1VFwxjTA150AADilGKLHig003.jpg "title=" 8.jpg " alt= "Wkiol1vfwxjta150aadilgklhig003.jpg"/>

Configuration on the SW2 switch

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/50/wKiom1VFwlKBbN4wAAIekjnoQ8s145.jpg "style=" float: none; "title=" 9.jpg "alt=" Wkiom1vfwlkbbn4waaiekjnoq8s145.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/4C/wKioL1VFw7-ytg3cAAHth81cxSE083.jpg "style=" float: none; "title=" 10.jpg "alt=" Wkiol1vfw7-ytg3caahth81cxse083.jpg "/>

3. Configure STP (pvst+) for load Balancing

SW1 Configuration

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/50/wKiom1VFw2uw1_gHAAJFpS-hv5s850.jpg "title=" 11.jpg "alt=" Wkiom1vfw2uw1_ghaajfps-hv5s850.jpg "/>

SW2 Configuration

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/4C/wKioL1VFxO3iuZ6KAAHzNeh1jww426.jpg "title=" 12.jpg "alt=" Wkiol1vfxo3iuz6kaahzneh1jww426.jpg "/>

4. Add a static routing table for full network interoperability

SW1

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/50/wKiom1VFxEqxiwh1AABeqG1IRr8567.jpg "title=" 13.jpg "alt=" Wkiom1vfxeqxiwh1aabeqg1irr8567.jpg "/>

SW2

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/4C/wKioL1VFxc_BJJopAABlEvz7EJ0356.jpg "title=" 14.jpg "alt=" Wkiol1vfxc_bjjopaablevz7ej0356.jpg "/>

R5

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/50/wKiom1VFxHWAKAEaAADyYlkN33E228.jpg "title=" 15.jpg "alt=" Wkiom1vfxhwakaeaaadyylkn33e228.jpg "/>

Vi. Verifying HSRP

Use the ping command to verify that the entire network is interoperable

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/4C/wKioL1VFxwujoznFAAFKsXLJPGw183.jpg "title=" 16.jpg "alt=" Wkiol1vfxwujoznfaafksxljpgw183.jpg "/>

Close the f1/0 port of the SW1 switch and use the ping command to verify that HSRP is in effect (with some delay, the first few packets of the ping command may be lost)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/50/wKiom1VFxijRhRXfAAFpRF1jl_M972.jpg "title=" 17.jpg "alt=" Wkiom1vfxijrhrxfaafprf1jl_m972.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/50/wKiom1VFxlyh0n9uAAGcDWpaTJA542.jpg "title=" 18.jpg "alt=" Wkiom1vfxlyh0n9uaagcdwpatja542.jpg "/>



This article is from the "Frozen Memory" blog, make sure to keep this source http://chenglihua.blog.51cto.com/9023335/1641415

Hot Backup Routing Protocol (HSRP), pvst+ load-balanced configuration

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.