A security administrator is hardening a network switch against VLAN hopping attacks. Which two configuration steps must be implemented on all user-facing access ports to neutralize this threat?
Trap 1: Enable dynamic trunking protocol (DTP) on all ports and set the…
Enabling DTP allows switches to negotiate trunking automatically, which is precisely how attackers exploit switch spoofing VLAN hopping.
Trap 2: Enable spanning-tree portfast and BPDU guard on all trunk ports
Portfast and BPDU guard are used on access ports to speed up convergence and prevent unauthorized switches, not for VLAN hopping.
Trap 3: Configure port security with sticky MAC addresses and maximum limit…
Port security limits MAC address counts, but it does not prevent 802.1Q double-tagging or DTP trunk negotiation attacks.
- A
Enable dynamic trunking protocol (DTP) on all ports and set the native VLAN to VLAN 1
Why wrong: Enabling DTP allows switches to negotiate trunking automatically, which is precisely how attackers exploit switch spoofing VLAN hopping.
- B
Enable spanning-tree portfast and BPDU guard on all trunk ports
Why wrong: Portfast and BPDU guard are used on access ports to speed up convergence and prevent unauthorized switches, not for VLAN hopping.
- C
Disable Dynamic Trunking Protocol (DTP) and explicitly set access ports to non-trunking mode
Disabling DTP and forcing ports into static access mode prevents an attacker from negotiating a trunk link to access other VLANs.
- D
Configure port security with sticky MAC addresses and maximum limit of one
Why wrong: Port security limits MAC address counts, but it does not prevent 802.1Q double-tagging or DTP trunk negotiation attacks.