Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Error – Command rejected: An interface whose trunk encapsulation is “Auto” can not be configured to “trunk” mode

Posted on 31/07/201917/08/2026 Christian By Christian No Comments on Error – Command rejected: An interface whose trunk encapsulation is “Auto” can not be configured to “trunk” mode
  1. Home
  2. Network | Monitoring
  3. Error – Command rejected: An interface whose trunk encapsulation is “Auto” can not be configured to “trunk” mode
Encapsulationset to Auto

In this article, we shall discuss the fix for “Error – Command rejected: An interface whose trunk encapsulation is “Auto” can not be configured to “trunk” mode”. The error message is prompted when you attempt to configure an interface to trunk mode. While its encapsulation is set to “Auto.” This happens when the switch cannot determine the encapsulation method (IEEE 802.1Q or ISL) for the trunk link. Please see How to disable auto login in Windows, and how to Disable or Enable Auto log on in Windows.

Also, see how to Fix “Error 1064: An exception occurred in the service when handling the control request“, and Auto Logon Error “Username and password specified is not valid”. Here is “Disable SQL Auto Close: Auto Close is enabled for both ePO and ePO Events Databases“.

Reason for the error

As you can see below, the error is prompted. This is because, you will need to explicitly set the trunk encapsulation before configuring the interface to trunk mode.

switch(config-if)#switchport mode trunk
Command rejected: An interface whose trunk encapsulation is “Auto” can not be configured to “trunk” mode.

This is a result of a missing encapsulation command type (That is 802.1Q on that port). Follow the steps below to fix this “Command Rejected” error message.

Set the Encapsulation Type

Before setting the interface to trunk mode, you need to specify the encapsulation type. Enter the interface configuration mode and enter the following command below

switch(config-if)#switchport trunk encapsulation dot1q

Before proceeding with the rest configuration. You can now set the port as a trunk without any issue.

Configure the Interface as Trunk

switch(config-if)switchport mode trunk

Exit the interface configuration mode and save the changes.

exit
write memory # Save the configuration

For other guides, see: How to clear Cache and Manually Update Microsoft Defender, How to fix: This network connection does not exist and Reveal the WiFi password of the Network you are connected to in Windows.

I hope you found this blog post on fixing this “Error – Command rejected: An interface whose trunk encapsulation is “Auto” can not be configured to “trunk” mode” helpful. If you have any questions, please let me know in the comment session.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Network | Monitoring

Post navigation

Previous Post: How to disable web console in Cisco switches
Next Post: Security Best Practice to secure your Cisco Router and Switches

Related Posts

  • Screenshot 1
    Fix SMB Freezes That Break Backups on Critical Linux Servers Network | Monitoring
  • pst
    Outlook Data File: Fix PST Error – Exceeded Maximum Large Items Network | Monitoring
  • tmgexchange2013owachangepasswordform
    How to change your password in Outlook Web Access Network | Monitoring
  • banner
    How to Check and Reset Network Data Usage in Windows 11 Network | Monitoring
  • UpdateOfficeOnlineServer 1
    Perform Office Online Server Update via the Microsoft Update Catalog Network | Monitoring
  • cisco ASA
    Common Cisco ASA Commands Network | Monitoring

More Related Articles

Featured image Excel crash 1 How to Fix Microsoft Excel Crash Issues Network | Monitoring
2019Blacklist Blog How does IP Address or Domain blacklist work? Network | Monitoring
banner How to Check and Reset Network Data Usage in Windows 11 Network | Monitoring
How to Set up a Single Site to Site VPN Connection on AWS Setup a Site-to-Site VPN Connection on AWS AWS/Azure/OpenShift
RemoteDesktopLinceseServer Fix Remote session was disconnected because there are no Remote Desktop License Servers available to provide a license Network | Monitoring
screenshot 2020 03 19 at 19.17.42 SG300 Firmware Upgrade Copy: Illegal software format Network | Monitoring

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • tn vmware horizon 1280x640
    The VM appears to be in use: Taking ownership failed Virtualization
  • Install FileZilla Client
    FileZilla Client on Mac: How to Transfer Files to WordPress via SFTP Mac
  • Featured image 4
    How to remove a Device from your Microsoft Account Microsoft Exchange/Office/365
  • MP Tools
    Veles Software: How to install and configure MPA Tools Reviews
  • selinux in production
    How to locate directory file context and restore it with SELinux Linux
  • TPM
    Clear TPM: How to enable or disable TPM in Windows Windows
  • Featured image 5
    How to uninstall and prevent the installation of Microsoft Teams on Windows Windows
  • Bang ad Olufsen.
    Bang and Olufsen Bluetooth connection: How to connect and remove Beoplay E8 3rd Generation to Mac Mac

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,745 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.