Difficulty: Easy
Correct Answer: switchport mode trunk
Explanation:
Introduction / Context:
On Cisco Catalyst 2960 switches, enabling a trunk port is a frequent task to carry multiple VLANs between switches or between a switch and a router-on-a-stick. Understanding the exact command syntax prevents misconfiguration.
Given Data / Assumptions:
Concept / Approach:
The 2960 supports only 802.1Q encapsulation and does not allow changing trunk encapsulation type. The correct approach is to enter interface configuration mode and set the switchport to trunk mode.
Step-by-Step Solution:
Verification / Alternative check:
Use show interfaces trunk to verify the interface is in trunking mode and carrying expected VLANs.
Why Other Options Are Wrong:
Common Pitfalls:
Trying to set encapsulation on platforms that do not support ISL; forgetting to allow specific VLANs if the default allowed list was modified elsewhere.
Final Answer:
switchport mode trunk
Discussion & Comments