Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: STP

STP 10 years 1 month ago #17832

  • monavy
  • monavy's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
This is regarding STP
If i have 3 switches connected in a ring and the sw1 is the root bridge.

sw2 ans sw3 are connected to it.
the port on sw3 connecting it to the sw2 is the blocked port.
now if i connect a crossover cable connecting the port0/10 to port0/11 on the sw1, what would happen? will stp fail? if not then which port of the port 10 and 11 will b blocked?
The administrator has disabled public write access.

STP 10 years 1 month ago #17838

  • TheBishop
  • TheBishop's Avatar
  • Offline
  • Moderator
  • Posts: 1719
  • Thank you received: 8
  • Karma: 5
Let's take this in two parts.
Firstly, with three switches in a ring, STP will work as you described.
Secondly, your question about plugging a switch into itself depends rather on the switch or, more specifically, the way STP has been implemented on the switch. As you suggest, basic STP would tend to come undone as by definition all ports on the root bridge are in the forwarding state. At the very least it would force an election for a new root bridge but I'm not sure how it would resolve. With some simpler switches I think STP would fail and you'd get a broadcast storm. However with decent switches such as Cisco the switch is more sophisiticated and would detect the loop and block or disable one or possibly both ports.
I've never actually tried this - has anyone done it and can tell us what happens?
The administrator has disabled public write access.

Re: STP 10 years 1 month ago #17843

  • d_jabsd
  • d_jabsd's Avatar
  • Offline
  • Distinguished Member
  • Posts: 153
  • Karma: 0
Let's take this in two parts.
Firstly, with three switches in a ring, STP will work as you described.
Secondly, your question about plugging a switch into itself depends rather on the switch or, more specifically, the way STP has been implemented on the switch. As you suggest, basic STP would tend to come undone as by definition all ports on the root bridge are in the forwarding state. At the very least it would force an election for a new root bridge but I'm not sure how it would resolve. With some simpler switches I think STP would fail and you'd get a broadcast storm. However with decent switches such as Cisco the switch is more sophisiticated and would detect the loop and block or disable one or possibly both ports.
I've never actually tried this - has anyone done it and can tell us what happens?

TheBishop, you are correct. It does depend on the switch. A Cisco, even with a default STP config, will detect and block the loop. An unmanaged switch will loop up and start causing problems.

I had a user at my old job who was going on vacation but taking her laptop. She plugged her ethernet cable into the spare port in her office so she wouldn't 'lose' it. Every broadcast multiplied by 2 on those ports and after about 10 minutes, would cause the switch to become unresponsive. It was a hassle to troubleshoot because the router itself was responsive from the outside (they were in LA, I was in Chicago), but the ethernet would drop when the switch died. While the ethernet was alive, the counters were going crazy. Once I figured out the issue and had them unloop the cable, everything sprang back to life, but that user (who was actually quite a b&%tch during the whole ordeal because she claimed it was my fault) got a big piece of my mind for a good 20 minutes afterwards.
The administrator has disabled public write access.

Re: STP 10 years 1 month ago #17851

  • monavy
  • monavy's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
i thaught the same way. but then wht abt the rule that no port on the root switch is blocked? cananyone get an authentic answer from cisco?

anyways guys thanks a lot for clearing the doubt.
The administrator has disabled public write access.
Time to create page: 0.078 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup