Spanning tree protocol interview question

1.

What is the purpose of Spanning Tree Protocol in a switched LAN?
A.     To provide a mechanism for network monitoring in switched environments
B.     To prevent routing loops in networks with redundant paths
C.     To prevent switching loops in networks with redundant switched paths
D.     To manage the VLAN database across multiple switches
E.     To create collision domains
Answer & Explanation

Answer: Option C

Explanation:

The Spanning Tree Protocol (STP) was designed to stop layer 2 loops. All Cisco switches have the STP on by default.
View Answer Workspace Report Discuss in Forum
2.

Which statement describes a spanning-tree network that has converged?
A.     All switch and bridge ports are in the forwarding state.
B.     All switch and bridge ports are assigned as either root or designated ports.
C.     All switch and bridge ports are in either the forwarding or blocking state.
D.     All switch and bridge ports are either blocking or looping.
Answer & Explanation

Answer: Option C

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.
View Answer Workspace Report Discuss in Forum
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?
A.     Forwards the switch to the first available link
B.     Drops the frame
C.     Floods the network with the frame looking for the device
D.     Sends back a message to the originating station asking for a name resolution
Answer & Explanation

Answer: Option C

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.
View Answer Workspace Report Discuss in Forum
4.

In which circumstance are multiple copies of the same unicast frame likely to be transmitted in a switched LAN?
A.     During high-traffic periods
B.     After broken links are reestablished
C.     When upper-layer protocols require high reliability
D.     In an improperly implemented redundant topology
Answer & Explanation

Answer: Option D

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.
View Answer Workspace Report Discuss in Forum
5.

If you want to disable STP on a port connected to a server, which command would you use?
A.     disable spanning-tree
B.     spanning-tree off
C.     spanning-tree security
D.     spanning-tree portfast
Answer & Explanation

Answer: Option D

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.

Leave a Reply0

Your email address will not be published.