On a Catalyst switch model that supports both ISL and 802.1Q, an engineer enters switchport mode trunk on a port, and IOS rejects the command. The port must become a static 802.1Q trunk. Which command must the engineer enter before switchport mode trunk?
Show the answer
Correct answerC. switchport trunk encapsulation dot1q
AWhy not this: Native VLAN settings apply on a working trunk; they do not fix the negotiated encapsulation that blocks trunk mode.
BWhy not this: Nonegotiate stops DTP frames but leaves the encapsulation on negotiate, so trunk mode is still refused.
CWhy this is right: Static trunk mode needs a fixed encapsulation, and this replaces the negotiate default with 802.1Q.
DWhy not this: Allowed-VLAN lists filter VLANs on a trunk and do not set the encapsulation trunk mode requires.
On switches that support both ISL and 802.1Q, the default trunk encapsulation is negotiate, and IOS refuses static trunk mode while the encapsulation is negotiated. Setting the encapsulation to dot1q first lets switchport mode trunk be accepted. Switches that support only 802.1Q, such as the Catalyst 9000 series, do not need this step.