Machine-translated by Google. Questions are authored in English.
Top

Spanning Tree Protocol Questions and Answers

1.

What are the distinct functions of layer 2 switching that increase available bandwidth on the network?

1.Address learning

2.Routing

3.Forwarding and filtering

4.Creating network loops

5.Loop avoidance

6.IP addressing

Answer: A

Correct answer: 1, 3 and 5

The three functions of a layer 2 switch are address learning, forwarding and filtering, and loop avoidance. Learning and forwarding are what increase the available bandwidth, by sending each frame only where it needs to go instead of to every port, and loop avoidance through STP is what makes the redundancy safe. Routing and IP addressing are layer 3, and creating loops is the fault being prevented.

Please log in or register to report this question.

2.

Which of the following is a layer 2 protocol used to maintain a loop-free network?

Answer: B

Correct answer: STP

STP is the layer 2 loop-avoidance protocol: it elects a root bridge and blocks the ports that would otherwise complete a loop, leaving one active path. VTP distributes VLAN information, RIP is a layer 3 routing protocol, and CDP discovers directly connected Cisco devices.

Please log in or register to report this question.

3.

In which circumstance are multiple copies of the same unicast frame likely to be transmitted in a switched LAN?

Answer: D

Correct answer: In an improperly implemented redundant topology

Without STP a redundant topology gives a frame more than one path, so copies circulate and are delivered repeatedly - and because an Ethernet frame carries no time-to-live, nothing stops them. Multiple frame copies, MAC table instability and broadcast storms are the three classic symptoms of a layer 2 loop, and they appear together.

Please log in or register to report this question.

Answer: C

Correct answer: Add the source address and port to the MAC address table and forward the frame out the destination port

The two halves of the switch’s job happen on every frame: it learns from the source address and forwards on the destination. Here the source is new, so the table gains an entry, and the destination is already known, so the frame goes out that one port rather than being flooded. Nothing about the unknown source causes a drop or a flood.

Please log in or register to report this question.

5.

If you want to disable STP on a port connected to a server, which command would you use?

Answer: D

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.

Please log in or register to report this question.

6.

Layer 2 switching provides which of the following?

1.Hardware-based bridging (ASIC)

2.Wire speed

3.Low latency

4.Low cost

Answer: D

Correct answer: All of the above

All four are genuine properties of layer 2 switching. Forwarding decisions are made in an ASIC rather than in software, so they run at wire speed with latency measured in microseconds, and because the function is simple the silicon is cheap. That combination is why switching displaced software bridging and why switch ports cost a fraction of router ports.

Please log in or register to report this question.

7.

You have two switches connected together with two crossover cables for redundancy, and STP is disabled. Which of the following will happen between the switches?

Answer: C

Correct answer: Broadcast storms will occur on the switched network.

Two links between the same pair of switches with STP disabled is a loop. A broadcast is flooded out of both, returns on the other, and is flooded again, multiplying until the links and the switch CPUs saturate. The switches do not load-balance - that requires an EtherChannel, which bundles the links into one logical interface so that no loop exists.

Please log in or register to report this question.

8.

Your switch has a port status LED that is alternating between green and amber. What could this indicate?

Answer: A

Correct answer: The port is experiencing errors.

An alternating green and amber LED signals errors on the link - collisions, CRC failures or a duplex mismatch. Solid green is a good link, amber alone usually means the port is blocked by spanning tree, and an unlit LED means no link or an administratively shut port. The counters in show interface will say which error is accumulating.

Please log in or register to report this question.

9.

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?

Answer: C

Correct answer: Floods the network with the frame looking for the device

An unknown unicast is flooded out of every port except the one it arrived on, because the switch has no other way of reaching a destination it has not yet learned. The reply then teaches the switch where that device is, and subsequent frames are forwarded rather than flooded. Dropping the frame would break connectivity to any device that has not yet spoken.

Please log in or register to report this question.

Answer: C

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.

Please log in or register to report this question.

Loading…
Tags: Spanning Tree Protocol Questions and Answers || Spanning Tree Protocol MCQ Questions and Answers || Spanning Tree Protocol GK Questions and Answers || Spanning Tree Protocol GK MCQ Questions || Spanning Tree Protocol Multiple Choice Questions and Answers || Spanning Tree Protocol GK || GK on Spanning Tree Protocol || Computer Networking Questions and Answers || Computer Networking MCQ Questions and Answers || Computer Networking GK Questions and Answers || GK on Computer Networking