What are the different port roles when setting up STP?

What are the different port roles when setting up STP?

STP Port Roles

  • Root – Ports on non-root switches with the best cost path to root bridge. These ports forward data to the root bridge.
  • Designated – Ports on root and designated switches. All ports on the root bridge will be designated.
  • Blocked – All other ports to bridges or switches are in a blocked state.

What are the two key benefits of VLAN’s?

VLANs provide a number of advantages, such as ease of administration, confinement of broadcast domains, reduced broadcast traffic, and enforcement of security policies.

When to use MAC address on L2 switch?

Your L2 switch will learn router MAC on the port router is connected (when the first packet from router will come on switch). For you it means that host will still use the router MAC and switch will now on which port it needs to send that.

How does the switch work in Layer 2?

Switch is a layer 2 device which works on the basis of MAC address (physical address) of a device. Switch mainly performs these functions: Learning – The switch learns the MAC address of the device on the switch port on which it receives the frame.

What does the MAC table tell us about a switch?

MAC table has 4 entries: Port Number – The switch port attached to the destination MAC. MAC Address – MAC address of that host which is attached to that switch port. Type – It tells us about how the switch has learned the MAC address of the host i.e static or dynamic.

What is the Spanning Tree Protocol in Layer 2?

Spanning Tree Protocol. Spanning Tree Protocol (STP) is a Layer 2 link management protocol that provides path redundancy while preventing loops in the network. For a Layer 2 Ethernet network to function properly, only one active path can exist between any two stations. Multiple active paths among end stations cause loops in the network.