Which command would set an interface to trunk mode?
- interface mode trunk
- switchport trunk active
- switchport trunk
- switchport mode trunk
Explanation: To configure a switch port to function as a trunk link, which allows it to carry traffic for multiple VLANs simultaneously, you must use the switchport mode trunk command while in interface configuration mode. This command manually overrides any dynamic negotiation and forces the port into trunking mode.
On many Cisco Catalyst switches, this command also activates the Dynamic Trunking Protocol (DTP) to manage the trunk negotiation with the connected device. Once the command is applied, you can verify the operational state of the port by using commands like show interfaces trunk or show interfaces switchport to ensure the "Operational Mode" has transitioned to trunk. In contrast, the other options provided—such as interface mode trunk or switchport trunk—do not match the standard Cisco IOS syntax for setting the administrative mode of an interface.
Related exam: Modules 1 – 7: Checkpoint Exam: Network Switching Answers (CCNP ENCOR v9)
