What are two ways to prevent Layer 2 loops in a network? (Choose two)
Click on the arrows to vote for the correct answer
A. B. C. D.AC
Preventing Layer 2 loops in a network is crucial to maintain network stability and performance. Layer 2 loops occur when there are multiple paths available between two switches, and packets can be forwarded in a loop, creating a broadcast storm and ultimately degrading network performance. Here are two ways to prevent Layer 2 loops:
When BPDU protection is enabled on a switch, it monitors incoming BPDU messages and shuts down the interface if it receives a BPDU message from an unauthorized switch. This prevents the unauthorized switch from participating in the STP and creating a loop.
Loop protection can be implemented in two ways:
a. UDLD (UniDirectional Link Detection) - UDLD is a Cisco proprietary protocol that detects unidirectional links, which can cause Layer 2 loops. UDLD works by sending packets on a link and checking for a response from the other end. If no response is received, the link is considered unidirectional, and UDLD takes action to prevent a loop.
b. LAG (Link Aggregation Group) - LAG is a feature that allows multiple physical links to be bundled together to form a single logical link. LAG can be used to prevent loops by detecting a loop and blocking one of the interfaces that is part of the LAG.
In summary, BPDU protection and loop protection (UDLD or LAG) are two ways to prevent Layer 2 loops in a network. BPDU protection blocks unauthorized switches from participating in the STP, while loop protection detects and blocks loops from forming.