Networking - Spanning Tree Protocol

Exercise : Spanning Tree Protocol - Spanning Tree Protocol
  • Spanning Tree Protocol - Spanning Tree Protocol
1.
What is the purpose of Spanning Tree Protocol in a switched LAN?
To provide a mechanism for network monitoring in switched environments
To prevent routing loops in networks with redundant paths
To prevent switching loops in networks with redundant switched paths
To manage the VLAN database across multiple switches
To create collision domains
Answer: Option
Explanation:
The Spanning Tree Protocol (STP) was designed to stop layer 2 loops. All Cisco switches have the STP on by default.

2.
Which statement describes a spanning-tree network that has converged?
All switch and bridge ports are in the forwarding state.
All switch and bridge ports are assigned as either root or designated ports.
All switch and bridge ports are in either the forwarding or blocking state.
All switch and bridge ports are either blocking or looping.
Answer: Option
Explanation:
Convergence occurs when all ports on bridges and switches have transitioned to either the forwarding or blocking states. No data is forwarded until convergence is complete. Before data can be forwarded again, all devices must be updated.

3.
What does a switch do when a frame is received on an interface and the destination hardware address is unknown or not in the filter table?
Forwards the switch to the first available link
Drops the frame
Floods the network with the frame looking for the device
Sends back a message to the originating station asking for a name resolution
Answer: Option
Explanation:
Switches flood all frames that have an unknown destination address. If a device answers the frame, the switch will update the MAC address table to reflect the location of the device.

4.
In which circumstance are multiple copies of the same unicast frame likely to be transmitted in a switched LAN?
During high-traffic periods
After broken links are reestablished
When upper-layer protocols require high reliability
In an improperly implemented redundant topology
Answer: Option
Explanation:
If the Spanning Tree Protocol is not running on your switches and you connect them together with redundant links, you will have broadcast storms and multiple frame copies.

5.
If you want to disable STP on a port connected to a server, which command would you use?
disable spanning-tree
spanning-tree off
spanning-tree security
spanning-tree portfast
Answer: Option
Explanation:
If you have a server or other devices connected into your switch that you're totally sure won't create a switching loop if STP is disabled, you can use something called portfast on these ports. Using it means the port won't spend the usual 50 seconds to come up while STP is converging.