Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 2 switches which have redundancy between them, meaning fa0/1 on SW1 is connected to fa0/1 on SW2, and fa0/2 on SW1 is connected to fa0/2 on SW2.

Both of the switches have the same BID, however the MAC address of SW1 is numerically lower, hence making it the root bridge.

Now my question is, on SW2, what determines which of fa0/1 and fa0/2 becomes the RP (Root Port) and the other on blocking state?

share|improve this question
up vote 2 down vote accepted

Assuming no other configuration, it's a deadlock and so SW2 will choose the (local) port with the lowest ID - i.e. fa0/1.

share|improve this answer

The least-cost port is chosen. If they are identical, the lower port number is chosen (fa0/1 in your case if they are identical). A good explanation of STP protocol is described here.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.