Spanning Tree Protocol Interface States
You might have noticed that when you plug in a cable to cisco switches the led above the interface was orange and after a while became green. What is happening at this moment is that spanning tree is determining the state of the
This is what happens as soon as you plug in a cable:
• Listening state: Only a root or designated port will move to the listening state. The alternate port will stay in the blocking state. In the listening state the switch tries to figure out what the topology looks like. No data transmission occurs at this state and after 15 seconds we will move to the learning state.
• Learning state: At this moment the interface will process Ethernet frames by looking at the source MAC address to fill the mac-address-table. Ethernet frames however are not forwarded to the destination. It takes 15 seconds to move to the next state called the forwarding state.
• Forwarding state: This is the final state of the interface and finally the interface will forward Ethernet frames so that we have data transmission!
When a port is not a designated or root port it will be in blocking mode. it takes 30 seconds in total to move from blocking to forwarding
Did You Enjoy this Article ?If yes, Then enter your email below to get
more articles on CCNA and CCNP in your inbox
For FREE !