RSTP ports

I am having hard time getting the understanding on RSTP algorithm for the following switch config (See attachment). Please let me know which ports that have role in RSTP  for switch & int's in figure attached:

Switch-config.gif
Who is Participating?

InstructorCommented:
I have to disagree with you donmanrobb.

Switch B will have two possible paths.

The G0/1 will have a cost of 23 while G0/2 will have a cost of 38. Since cost is the first factor considered in determining the port state, G0/2 will block since it has the highest cost.
0

Commented:
P4S-SC will be the root switch because it has the lowest mac address.
P4S-SA F0/1 will be the root port because it is the lowest interface number, F0/2 will be the designated port.

PFS-SD, Gig0/2 will be the root port due to lowest cost.
0

InstructorCommented:
There's a problem with this question.

The switch with the lowest bridge ID is the root. The bridge ID is made up of a two byte bridge priority (default of 0x80.00) followed by the base MAC address of the switch. In the question, they state "No other configuration changes have been made."

This means that P4S-SC is the root. All ports on the root are Designated Ports (DP).
0

InstructorCommented:
Sorry... hit the submit button by accident.

So the BPDU's will arrive at SA on port Fa0/1 with a cost of 19. This means that Fa0/1 on SA will be the Root Port (RP). This means answer B is correct. Fa0/2 will be a DP which means A is correct also.

Now on SD, we could assume the gig0/2 port negoiated to 100mbps which would make the cost of that port 19 also. So G0/2 will be an RP so D is correct.

That's three.

But now we continue to follow the BPDUs.

Since G0/2 on SD is the RP, G0/1 will be the DP.

On to SB:

BPDU's arrive on both G0/2 and G0/1. If we assume the G0/2 negoiated to 100mbps, the BPDU will have a cost of 38 (19+19). The BPDU arriving on G0/1 will have a cost of 23 (19+4). Since the RP is selected based on the lowest cost, G0/1 will be the RP. Which means C is correct.

So A, B, C and D are all correct.

0

Author Commented:
A couple of thoughts:
1. Fast ethernet vs gigabit ethernet has to figure somewhere in the computations.
2. Donjonston, A is not somehow not correct.
0

InstructorCommented:
1. Correct. fastethernet ports have a default cost of 19. Gig ports are 4. If you connect a gig port to a fa port with default configurations, the gig port will drop to 100 meg and have a cost of 19.

2. Sorry. A is correct.

More than likely, the rocket scientist at Pass 4 Sure goofed up. This wouldn't be the first time.
0

Commented:
You dare suggest that the elite professionals at Pass4Sure made a mistake? :)
0

InstructorCommented:
I'm daring kinda guy.  :-)
0

Author Commented:
Hi Don;
You say A,B,C & D are correct...

That leads to switching loop, since all the ports are forwarding. There has to be some port that is blocking.
0

InstructorCommented:
There are only 4 answers but there are 8 ports on the diagram.

Switch B G0/2 will be a non-designated (blocking) port.

0

Commented:
P4S-B Gig0/1 will be the blocked port.
0

Commented:
typo, P4S-B Gig0/1 is blocked
0

InstructorCommented:
I can't type fast enough. :-)
0

Commented:
donjohnston, right you are.
I tried to correct my typo and put G0/2 but since its early morning and I have not had coffee yet I appear to have wrote g0/1 again.
0

Author Commented:
Thanks...
0

InstructorCommented:
Totaram:

Have you run across very many IPv6 questions on your Pass4Sure package?
0

Author Commented:
Not very many, a few... why did you ask that, let me know if some of those.. I am looking for as many questions as possible???
0

InstructorCommented:
I was just wondering if they had gotten around to adding IPv6 to the pool of questions.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.