Switch spanning Tree protocol configuration

Source: Internet
Author: User

First, the purpose of the experiment

Understanding Spanning Tree STP and fast spanning tree RSTP How to configure the fast spanning Tree protocol on the switch.

Second, the principle of experiment

Two switches with dual-link interconnect can provide redundant backup function of links, but it brings the network loop problem, this problem will cause "broadcast storm" in the network, and affect the normal operation of the switch. Using spanning tree protocol avoids the generation of loops and provides redundant backup functionality for the link.

The most important application of spanning tree protocol is to avoid the network loopback in LAN, and to solve the "broadcast storm" problem of the Loop Ethernet network, which is a kind of network protection technology in a sense, which can eliminate the cyclic connection caused by mistake or accidental. STP also provides the possibility of providing a backup connection to the network.

STP(Spanning treeprotocol ) is the acronym for Spanning Tree Protocol. The primary purpose of the spanning tree is to elect a root switch (the root bridge) that constructs a loop-free path to the root bridge for all the bridges in the network. When spanning tree convergence is complete, each bridge in the network will be one of two states for its bridged port: forwarding or blocking. STP determines the topology of a network by passing a special protocol message (BPDU) between the switches. the BPDUs contain enough information to ensure that the switch completes the spanning tree calculation.

The STP protocol is defined by ieee802.1d and RSTP is defined by ieee802.1w .

IEEE802.1D uses two types of BPDUs:

a configuration BPDUs, primarily for initial STP configuration, a topology change notification (TCN)BPDU, used primarily for topological changes.

BPDUs are transmitted using a reserved multicast address assigned to "all Bridges". BPDUs are sent out from all bridged LAN ports and are received by all bridges in the LAN. BPDUs are not forwarded to the LAN by the router.

stp Bpdu Bridge protocol Data unit. bpdu message per 2 second send once, purpose Mac Root bridge Span style= "text-decoration:underline;" >id root path cost , send bridge id send port id aging time and so on.

Third, the experimental equipment

Ruijie s2628g-e/s3760e-24(2 units), computer

Iv. contents and steps of the experiment

Enable spanning tree protocol on both switches

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/89/32/wKiom1gLEr2TiAj_AAAjwjQ0X0k913.png-wh_500x0-wm_3 -wmp_4-s_1757217569.png "title=" Qq20161022151446.png "alt=" Wkiom1gler2tiaj_aaajwjq0x0k913.png-wh_50 "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/89/2F/wKioL1gLEtXjGw6FAAACnUfCUig140.png-wh_500x0-wm_3 -wmp_4-s_4112891984.png "title=" qq picture 20161017112823.png "alt=" Wkiol1gletxjgw6faaacnufcuig140.png-wh_50 "/>

Observing spanning tree protocol on the switch

use on both switches SH spanning-tree Compare View results after instruction .

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/89/32/wKiom1gLExjhTuHuAAAMxeOy0Wk412.png-wh_500x0-wm_3 -wmp_4-s_79049631.png "title=" qq picture 20161017112805.png "alt=" Wkiom1glexjhtuhuaaamxeoy0wk412.png-wh_50 "/>

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/89/32/wKiom1gLEzHDu-UYAAAiyPh7_eY605.png-wh_500x0-wm_3 -wmp_4-s_4033151374.png "title=" Qq20161017112049.png "alt=" Wkiom1glezhdu-uyaaaiyph7_ey605.png-wh_50 "/>



Switch spanning Tree protocol 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.