A network security administrator is tasked with baseline hardening for a newly installed Layer 3 enterprise switch before connecting it to the production network. Corporate security compliance mandates that the configuration must mitigate double-tagging VLAN hopping attacks on trunk connections, prevent unauthorized access on unassigned physical ports, and protect administrative sessions from eavesdropping and tampering. Which set of device hardening measures best meets these requirements?
- Change the native VLAN on all 802.1Q trunk links to an unused non-default VLAN ID, disable Dynamic Trunking Protocol (DTP) on trunk ports, shut down all unused physical switch ports and reassign them to an isolated blackhole VLAN, and enforce SSHv2 alongside SNMPv3 with authPriv for remote management.Answer
- BRetain VLAN 1 as the native VLAN across trunk links to ensure management traffic compatibility, disable DTP, place all unused switch ports into administratively down status while keeping them in VLAN 1, and restrict remote VTY line access strictly to Telnet bound to a management Access Control List (ACL).
- CReassign the native VLAN on 802.1Q trunks to an unused non-default VLAN ID, enable DTP to dynamically negotiate trunk encapsulation with adjacent switches, assign unused physical ports to the native VLAN, and implement SNMPv2c using a complex, non-default community string.
- DChange the native VLAN on 802.1Q trunks to match the active user data VLAN, disable unused switch ports without modifying their VLAN assignments, and enable HTTP-based web management restricted to authorized subnet ranges.
Answer
Change the native VLAN on all 802.1Q trunk links to an unused non-default VLAN ID, disable Dynamic Trunking Protocol (DTP) on trunk ports, shut down all unused physical switch ports and reassign them to an isolated blackhole VLAN, and enforce SSHv2 alongside SNMPv3 with authPriv for remote management.
The correct response combines comprehensive Layer 2 and management plane hardening controls. Native VLAN reassignment to a dedicated, unused VLAN ID combined with disabling DTP prevents VLAN hopping via double-tagging and unauthorized trunk formation. Moving unused ports to a non-routed blackhole VLAN while disabling them prevents physical rogue access. Enforcing SSHv2 and SNMPv3 configured with authPriv guarantees both cryptographic authentication and strong payload encryption for remote management.
Step-by-Step Solution
Key Concept
Switch Baseline Hardening & Management Plane Security