Spanning tree understanding of Cisco Packet Tracert

Source: Internet
Author: User
Tags cisco switch

Lab Environment:

650) this.width=650; "alt=" Cisco Packet Tracert Spanning tree understanding-Ibm.chick-mingkang.zhou "src=" Http://img1.ph.126.net/-OTBVD6L D8mmccic2uxrbg==/6630564189373643902.png "style=" border:0px;height:auto;margin:0px 10px 0px 0px; "/>

Experimental Purpose:

1. Simple description of Spanning tree.

2. Observe that a switch belongs to the root bridge.

3, observe the switch is not the root bridge, the port is "blocked".

4. Set the port of the server to Spanning-tree Protfast.

5, set the SWITCH1 as the root bridge; Modify the priority of the spanning tree, the lower the number, the higher the priority level.

Operation Steps:

1. Simple description of Spanning tree.

A: The default Cisco switch enables spanning Tree protocol and automatically calculates the root bridge, the disabled port, and so on.

650) this.width=650; "alt=" Cisco Packet Tracert Spanning tree understanding-Ibm.chick-mingkang.zhou "src=" Http://img1.ph.126.net/WquPxwPs Yncqwin0ray8fa==/6630092498885157061.png "style=" border:0px;height:auto;margin:0px 10px 0px 0px; "/>

2. Observe that a switch belongs to the root bridge.

650) this.width=650; "alt=" Cisco Packet Tracert Spanning tree understanding-Ibm.chick-mingkang.zhou "src=" Http://img2.ph.126.net/BFXqBBOu M06qvncc4ynohw==/6630771997071294761.png "style=" border:0px;height:auto;margin:0px 10px 0px 0px; "/>

3, observe the switch is not the root bridge, the port is "blocked".

650) this.width=650; "alt=" Cisco Packet Tracert Spanning tree understanding-Ibm.chick-mingkang.zhou "src=" http://img2.ph.126.net/LOnBYsXy Qrgsjsm6zhbd4g==/6630357481187448146.png "style=" border:0px;height:auto;margin:0px 10px 0px 0px; "/>

4. Set the port (FA0/4) of the server to Spanning-tree Protfast.

Coresw#conf T

Enter configuration commands, one per line. End with cntl/z.

Coresw (config) #int FA0/4

CORESW (config-if) #spanning-tree portfast

%warning:portfast should only is enabled on ports connected to a single

Host. Connecting hubs, concentrators, switches, bridges, etc ... To this

interface when Portfast is enabled, can cause temporary bridging loops.

Use with CAUTION

%portfast have been configured on FASTETHERNET0/4 but would only

The effect when the interface are in a non-trunking mode.

650) this.width=650; "alt=" Cisco Packet Tracert Spanning tree understanding-Ibm.chick-mingkang.zhou "src=" HTTP://IMG0.PH.126.NET/RGFSZUWM Vztqaleyss7ltg==/6630814878024779082.png "style=" border:0px;height:auto;margin:0px 10px 0px 0px; "/>

The reasons for setting up Protfast are as follows:

By default, the switch port, after the switch starts, for STP reasons, the port needs at least 30 seconds before the user can provide data forwarding.

For a

Ports that are connected to the host or server are not necessary for STP calculations, as such ports are not even directly

Forwarding data does not cause loops, and 30 seconds is a long time for hosts or servers that need to deliver data immediately, so such ports can be configured to bypass STP calculations.

5, set the SWITCH1 as the root bridge; Modify the priority of the spanning tree, the lower the number, the higher the priority level.

Switch (config) #spanning-tree VLAN 1 priority 4096

Switch (config) #exit

Switch#show Spanning-tree

VLAN0001

Spanning Tree Enabled Protocol IEEE

Root ID Priority 4097

Address 0090.214B. DA35

This bridge is the root

Hello Time 2 sec Max Age sec Forward Delay sec

Bridge ID Priority 4097 (priority 4096 Sys-id-ext 1)

Address 0090.214B. DA35

Hello Time 2 sec Max Age sec Forward Delay sec

Aging Time 20


Cisco Packet Tracert Spanning tree understanding

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.