HSRP and STP

Source: Internet
Author: User

The13Day:HSRPAndSTP

 

Lab01:HSRPHot Backup route selection Protocol

Lab Objectives

Communication through hot backup routing

Lab Environment

Install a Cisco simulator computer

650) This. width = 650; "width =" 641 "Height =" 399 "Title =" image001.png "style =" width: 508px; Height: 286px; "src =" http://s3.51cto.com/wyfs02/M02/45/DE/wKiom1PsyT6TsBrMAAEoCNSgvek478.jpg "alt =" wkiom1psyt6tsbrmaaeocnsgvek478.jpg "/>

Lab procedure

1. Configure the IP addresses and default gateways of the four computers respectively.

1. pC1: 192.168.1.1 Gateway: 192.168.1.254

PC2: 192.168.1.2 Gateway: 192.168.1.254

PC3: 192.168.4.1 Gateway: 192.168.4.254

Double-click pc0 computer | enter IP Address Configuration and Network Management Configuration

650) This. width = 650; "Title =" image004.jpg "src =" http://s3.51cto.com/wyfs02/M00/45/E0/wKioL1PsypjC6ZbPAACTFsvb9gw291.jpg "alt =" wkiol1psypjc6zbpaactfsvb9gw291.jpg "/>

2. Enter the vswitch for related configuration

1. Configure vro1 1

650) This. width = 650; "Title =" image006.jpg "src =" http://s3.51cto.com/wyfs02/M00/45/DE/wKiom1PsydLgTODWAAEFYSyMl3Q092.jpg "alt =" wkiom1psydlgtodwaaefysyml3q092.jpg "/>

2. Configure vro2 2

650) This. width = 650; "Title =" image008.jpg "src =" http://s3.51cto.com/wyfs02/M00/45/DE/wKiom1PsyfGTyuwiAAD52NeJTrI846.jpg "alt =" wkiom1psyfgtyuwiaad52nejtri846.jpg "/>

3. Configure vro3 3

650) This. width = 650; "Title =" image010.jpg "src =" http://s3.51cto.com/wyfs02/M01/45/DE/wKiom1PsyhmwNVVlAADloUnTtiE883.jpg "alt =" wkiom1psyhmwnvvlaadlounttie883.jpg "/>

650) This. width = 650; "Title =" image012.jpg "src =" http://s3.51cto.com/wyfs02/M00/45/E0/wKioL1Psy1OAJxs6AABo6SB5U6A885.jpg "alt =" wkiol1psy1oajxs6aabo6sb5u6a885.jpg "/>

4. Configure the HSRP members on vro1 1 and vro2 2 respectively.

Configuration on vro1 1

650) This. width = 650; "Title =" image013.png "src =" http://s3.51cto.com/wyfs02/M02/45/DE/wKiom1PsylnBLeKeAAF3RTNxt6k517.jpg "alt =" wkiom1psylnblekeaaf3rtnxt6k517.jpg "/>

Configuration on vro2 2

650) This. width = 650; "Title =" image015.png "src =" http://s3.51cto.com/wyfs02/M01/45/E0/wKioL1Psy4mDcC89AAFy6FxuBUo652.jpg "alt =" wkiol1psy4mdcc89aafy6fxubuo652.jpg "/>

Result Verification

1. Router 1 show standby brief result

650) This. width = 650; "Title =" image017.png "src =" http://s3.51cto.com/wyfs02/M00/45/E0/wKioL1Psy8qT3fpxAABw1av0avI631.jpg "alt =" wkiol1psy8qt3fpxaabw1av0avi631.jpg "/>

2. Router 1 faulty router 2 show standby brief Display Results

650) This. width = 650; "Title =" image019.png "src =" http://s3.51cto.com/wyfs02/M01/45/DE/wKiom1Psysnxdq--AACDgCgcMGU580.jpg "alt =" wKiom1Psysnxdq--AACDgCgcMGU580.jpg "/>

3. pC1 Ping PC3 results

650) This. width = 650; "Title =" image022.jpg "src =" http://s3.51cto.com/wyfs02/M00/45/DE/wKiom1PsyuCgAQG_AADLcrRSFDg392.jpg "alt =" wkiom1psyucgaqg_aadlcrrsfdg392.jpg "/>

Problem and Experience Summary

By using the same virtual IP address and virtual MAC address, two or more routers in the lan cidr block can serve as one virtual router, HSRP enables the Cisco routers in the group to monitor each other's running status.

 

 

Lab02:STPSpanning Tree Protocol

Lab Objectives

There may be communication faults caused by line faults in the network. Redundant lines can be used to eliminate network interruptions caused by a line failure.

Lab Environment

Install a Cisco simulator computer

650) This. width = 650; "width =" 447 "Height =" 290 "Title =" image023.png "style =" width: 447px; Height: 276px; "src =" http://s3.51cto.com/wyfs02/M02/45/DE/wKiom1PsyyfRFdxhAAC-K3re5LQ081.jpg "alt =" wKiom1PsyyfRFdxhAAC-K3re5LQ081.jpg "/>

Lab procedure

1. Create VLAN 2 on layer-3 Switch 1 and layer-3 Switch 2 respectively, and set it as a trunk Link

650) This. width = 650; "Title =" image025.png "src =" http://s3.51cto.com/wyfs02/M00/45/DE/wKiom1Psy1KzzOyhAAFaU1UWhGw908.jpg "alt =" wkiom1psy1kzzoyhaafau1uwhgw908.jpg "/>

2. Create VLAN 2 on L2 Switch 1 and L2 Switch 2 respectively, and set it as a trunk Link

650) This. width = 650; "Title =" image027.png "src =" http://s3.51cto.com/wyfs02/M01/45/DE/wKiom1Psy2jgVP2uAACkO3Wo4xM260.jpg "alt =" wkiom1psy2jgvp2uaacko3wo4xm260.jpg "/>

3. Enable the Spanning Tree Protocol in VLAN on Layer 3

Configure SW1 as the main root of vlan1

Switch (config) # spanning-tree VLAN 1 Root primary

Configure sw2 as the secondary root of vlan1

Switch (config) # spanning-tree VLAN 1 root secondary

Configure SW1 as the secondary root of vlan2

Switch (config) # spanning-tree VLAN 2 root secondary

Configure sw2 as the main root of vlan2

Switch (config) # spanning-tree VLAN 2 Root primary

Result Verification

1. Configure SW1 as the display result of the main root of vlan1

650) This. width = 650; "Title =" image038.jpg "src =" http://s3.51cto.com/wyfs02/M01/45/E0/wKioL1PszMvgU0PVAACOQMR_N_Y816.jpg "alt =" wkiol1pszmvgu0pvaacoqmr_n_y816.jpg "/>

2. Configure sw2 as the display result of the secondary root of vlan1

650) This. width = 650; "Title =" image040.jpg "src =" http://s3.51cto.com/wyfs02/M00/45/DE/wKiom1Psy8Wzlh6GAACRaCGIWJg547.jpg "alt =" wkiom1psy8wzlh6gaacracgiwjg547.jpg "/>

3. Configure sw2 as the display result of the secondary root of vlan2

650) This. width = 650; "Title =" image042.jpg "src =" http://s3.51cto.com/wyfs02/M00/45/DE/wKiom1Psy9ujQxjLAACtEqJCf50681.jpg "alt =" wkiom1psy9ujqxjlaacteqjcf50681.jpg "/>

4. Configure sw2 as the display result of the main root of vlan2

650) This. width = 650; "Title =" image044.jpg "src =" http://s3.51cto.com/wyfs02/M02/45/E0/wKioL1PszQeywpjiAACqmf68MlY436.jpg "alt =" wkiol1pszqeywpjiaacqmf68mly436.jpg "/>

Problem and Experience Summary

The Spanning Tree Protocol logically disconnects the loop to prevent the generation of broadcast storms. When the line fails, the blocked interface is activated and the communication is restored, thus backing up the line.

 

 


Related Article

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.