In my ICND2 study book I quote:
1. The root creates and sends a Hello BPDU, with a cost of 0, out all its working interfaces (those in Forwarding State).
2. The nonroot switches receive the Hello on their root ports. After changing the Hello to list their own bridge ID as the
sender's BID, and listing that switch's root cost, the switch forwards the Hello out all designated ports
3. Steps 1 and 2 repeat until something changes.
The reason I'm confused is because in step 1, root switch BPDUs are said to be advertised at a cost of 0. Wouldn't the root switch instead want to advertise its cost according to its own interface link speeds? For example, if SW1 (root) were connected with redundant cables to SW2, wouldn't SW2 factor in the speed of SW1's interfaces?
To expand on this in step 2 it describes the nonroot switch that is forwarding the root switch's Hello as updating the Hello to list its own
root cost. Where does this
root cost come from? Is this
root cost custom per port that the nonroot switch forwards the Hello out of, or am I misunderstanding this?
Is my interpretation correct in that the nonroot port updates the
root cost separately per interface it forwards the Hello from? For example would a nonroot port update the
root cost to be higher when sent out of a 100Mbps port than when it sends it from a 1Gbps port?
I'm sorry if this is too basic, but my research isn't coming up with anything that I can apply to this scenario and I really appreciate any input.
Thanks,
David