Hot Backup routing selection protocol (HSRP) and Spanning Tree Protocol (STP)

Source: Internet
Author: User

Labels: routers, routers, priority Switches

Experiment 1. Hot Backup routing protocol (HSRP)

Lab Objectives

Create a virtual gateway and configure the priority of HSRP to implement hot backup of routes, practical application and migration of the virtual gateway.

Lab Environment

Three routers, one vswitch and three PCs

PC 0 IP 192.168.1.1 192.168.1.254

PC 1 IP 192.168.1.2 192.168.1.254

PC 2 IP 192.168.4.1 192.168.4.252

650) This. width = 650; "Title =" image001.png "src =" http://s3.51cto.com/wyfs02/M02/45/E0/wKioL1Ps0IGgcYRMAADqMxBZ_oI347.jpg "alt =" wkiol1ps0iggcyrmaadqmxbz_oi347.jpg "/>

Lab procedure

1) Configure three PCs

650) This. width = 650; "Title =" image002.png "src =" http://s3.51cto.com/wyfs02/M00/45/DF/wKiom1Psz_nhl5Y0AACx_GBHl7s635.jpg "alt =" wkiom1psz_nhl5y0aacx_gbhl7s635.jpg "/>

650) This. width = 650; "Title =" image003.png "src =" http://s3.51cto.com/wyfs02/M02/45/DF/wKiom1Ps0Bnh2PDzAAC47NM0-gI529.jpg "alt =" wKiom1Ps0Bnh2PDzAAC47NM0-gI529.jpg "/>

650) This. width = 650; "Title =" image004.png "src =" http://s3.51cto.com/wyfs02/M00/45/E1/wKioL1Ps0U7DwlT5AAC-WqhmTsg782.jpg "alt =" wKioL1Ps0U7DwlT5AAC-WqhmTsg782.jpg "/>

2) configure the router Router

650) This. width = 650; "Title =" image005.png "src =" http://s3.51cto.com/wyfs02/M01/45/E1/wKioL1Ps0XyQ2f22AALZGfQkebw492.jpg "alt =" wkiol1ps0xyq2f22azgfqkebw492.jpg "/>

650) This. width = 650; "Title =" image006.png "src =" http://s3.51cto.com/wyfs02/M02/45/E1/wKioL1Ps0aiAddaBAAQFD7mL9rw129.jpg "alt =" wkiol1ps0aiaddabaaqfd7ml9rw129.jpg "/>

Configure router 1

650) This. width = 650; "Title =" image007.png "src =" http://s3.51cto.com/wyfs02/M02/45/DF/wKiom1Ps0KvBypO9AAIOtQjxgq0993.jpg "alt =" wkiom1ps0kvbypo9aaiotqjxgq0993.jpg "/>

650) This. width = 650; "Title =" image008.png "src =" http://s3.51cto.com/wyfs02/M00/45/E1/wKioL1Ps0eahDXU6AAFwRm3OJIM662.jpg "alt =" wkiol1ps0eahdxu6aafwrm3ojim662.jpg "/>

Configure router 0

 

650) This. width = 650; "Title =" image009.png "src =" http://s3.51cto.com/wyfs02/M00/45/DF/wKiom1Ps0S7BQeHkAAUrVip62mA983.jpg "alt =" wkiom1ps0s7bqehkaaurvip62ma983.jpg "/>

Result Verification

650) This. width = 650; "Title =" image010.png "src =" http://s3.51cto.com/wyfs02/M02/45/E1/wKioL1Ps0mTw9g8PAAFOGJPirAg822.jpg "alt =" wkiol1ps0mtw9g8paafogjpirag822.jpg "/>

650) This. width = 650; "Title =" image011.png "src =" http://s3.51cto.com/wyfs02/M02/45/DF/wKiom1Ps0Wjit3JAAAElqhmo-_I582.jpg "alt =" wKiom1Ps0Wjit3JAAAElqhmo-_I582.jpg "/>

650) This. width = 650; "Title =" image012.png "src =" http://s3.51cto.com/wyfs02/M00/45/E1/wKioL1Ps0pbg5Q6JAAIbHoiMhEc424.jpg "alt =" wkiol1ps0pbg5q6jaaibhoimhec424.jpg "/>

650) This. width = 650; "Title =" image013.png "src =" http://s3.51cto.com/wyfs02/M02/45/DF/wKiom1Ps0ZvwLtDeAAD-eJsGi4I540.jpg "alt =" wKiom1Ps0ZvwLtDeAAD-eJsGi4I540.jpg "/>

Experiment 2. STP (Spanning Tree Protocol)

Lab Objectives

To prevent broadcast storms in redundant environments, spanning tree (STP) protocol is introduced. Using the Spanning Tree Protocol, you can set a port on a redundant line to a blocking state to prevent the occurrence of broadcast storms. When a channel fails, the blocked port automatically enters the forwarding status to ensure network smoothness.

Lab Environment

650) This. width = 650; "Title =" image014.png "src =" http://s3.51cto.com/wyfs02/M00/45/DF/wKiom1Ps0b6CLSrzAADGsUfvAt0668.jpg "alt =" wkiom1ps0b6clsrzaadgsufvat0668.jpg "/>

Lab procedure

Divide VLAN 2 in four vswitches

650) This. width = 650; "Title =" image015.png "src =" http://s3.51cto.com/wyfs02/M02/45/E1/wKioL1Ps0waijYZzAABs7gRTIpU537.jpg "alt =" wkiol1ps0waijyzzaabs7grtipu537.jpg "/>

Configure a layer-3 Switch

650) This. width = 650; "Title =" image016.png "src =" http://s3.51cto.com/wyfs02/M01/45/DF/wKiom1Ps0gHh6s1NAASjmXX73EA418.jpg "alt =" wkiom1ps0ghh6s1naasjmxx73ea418.jpg "/>

Configure a L2 Switch

650) This. width = 650; "Title =" image017.png "src =" http://s3.51cto.com/wyfs02/M02/45/DF/wKiom1Ps0ieRum1jAAEKU0thN5U464.jpg "alt =" wkiom1ps0ierum1jaaeku0thn5u464.jpg "/>

Result Verification

650) This. width = 650; "Title =" image018.png "src =" http://s3.51cto.com/wyfs02/M02/45/E1/wKioL1Ps03GQ0A-gAAKf10HbfX4571.jpg "alt =" wKioL1Ps03GQ0A-gAAKf10HbfX4571.jpg "/>

650) This. width = 650; "Title =" image019.png "src =" http://s3.51cto.com/wyfs02/M02/45/E1/wKioL1Ps01_iZPngAAKWoh2-87s119.jpg "alt =" wKioL1Ps01_iZPngAAKWoh2-87s119.jpg "/>

This article is from the "CEO" blog. For more information, contact the author!

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.