Options

Spanning tree/Prof Messer

ratbuddyratbuddy Member Posts: 665
Quick question on this video: CompTIA Network+ N10-005: 1.4 - Spanning Tree Protocol | Professor Messer - CompTIA A+, Network+, Security+, Linux, Microsoft Technology Training

On the chart showing around 5:30 or so, some ports are marked BP for blocked port. These are opened to let traffic flow past the X which represents a link outage.

Why are these ports blocked in the first place? Is it to prevent loops? Also, how are they blocked? Does STP handle this?

Comments

  • Options
    Adam BAdam B Member Posts: 108 ■■□□□□□□□□
    If I'm not mistaken, STP Handles it, and it is to prevent loops, by not allowing traffic on that port
    2015 Goals: CCNP SWITCH [] SEC+ [ ] CCNP ROUTE [ ] CCNP TSHOOT [ ]

  • Options
    aftereffectoraftereffector Member Posts: 525 ■■■■□□□□□□
    Yes. STP will automatically place certain ports in a blocking status to prevent routing loops. It does this by determining the best choice for each route and then blocking all other ports. The algorithm used to determine the 'best choice' is a little more complex to explain but for Net+, you shouldn't need to know anything about it other than that it exists.

    When a link fails, STP will recalculate the 'best' routes and automatically enable some of the formerly blocked ports. This can take a little while - up to 50 seconds with default values for spanning tree.
    CCIE Security - this one might take a while...
  • Options
    ratbuddyratbuddy Member Posts: 665
  • Options
    EdTheLadEdTheLad Member Posts: 2,111 ■■■■□□□□□□
    Yes. STP will automatically place certain ports in a blocking status to prevent routing loops. It does this by determining the best choice for each route and then blocking all other ports.
    When a link fails, STP will recalculate the 'best' routes and automatically enable some of the formerly blocked ports. This can take a little while - up to 50 seconds with default values for spanning tree.

    Routing loops refer to layer 3, better to say layer 2 loops, forwarding loops, switching loops etc
    Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
  • Options
    TheNewITGuyTheNewITGuy Member Posts: 169 ■■■■□□□□□□
  • Options
    CoolAsAFanCoolAsAFan Member Posts: 239
    Just started studying CCENT so take what I say with a grain of salt, but if it helps, STP is needed when you have redundant routes setup. If no STP and all ports were open and the target device was off/broken, broadcast traffic could get stuck in an infinite loop "searching" for the target device that is offline. This is why STP disabled certain ports, to prevent these forwarding loops. If a route fails, STP will auto open the next best route (ports) to prevent network outage.
    IvyTech - AS CINS (Completed: May, 2013)
    WGU Indiana - BS IT Security
    (Started: August 1st, 2013)

    Transferred: AGC1 CDP1 BVC1 CLC1 CVV1 DHV1 DJV1 GAC1 CIC1 CDC1 UBT1 IWC1 IWT1 TCP1 TJP1 TJC1 EBV1 WFV1 EUP1 EUC1 CJC1 UBC1 TBP1
    Completed: CUV1 BOV1 DRV1 DSV1 CTV1 CJV1 COV1 CQV1 CNV1 TPV1 MGC1 TXC1 TXP1 BNC1 TYP1 TYC1
    Required:
    SBT1 RGT1 RIT1
  • Options
    TechGuru80TechGuru80 Member Posts: 1,539 ■■■■■■□□□□
    STP is automatic as soon as it detects redundant links but certain parts can be customized to make it more efficient. Rememeber that CompTIA exams are conceptual so the big idea is STP prevents layer 2 loops.
Sign In or Register to comment.