Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Network | Monitoring » Error – Command rejected: An interface whose trunk encapsulation is “Auto” can not be configured to “trunk” mode
  • veeam backup for Proxmox VE
    Backup and Restore Proxmox VE virtual machines with Veeam Backup
  • ESXi
    How to install ESXi on VirtualBox Virtualization
  • Certificates
    The application /Certsrv does not exist: How to configure Certificate Enrollment Web Services and Certificate Authority Web Enrolment Windows Server
  • cloudqueryfeature
    How to Manage Cloud Assets in AWS with CloudQuery AWS/Azure/OpenShift
  • Backup for Microsoft 365 and Azure
    Veeam Backup Deployment options for Microsoft 365 Data AWS/Azure/OpenShift
  • 1 WeXxkEX0JG3oB781HD8Hrg 1
    Command Prompt in Windows: Creating Volumes Guide Windows
  • unnamed 1
    NSlookup Displays Error: UnKnown Default Server Windows Server
  • windows server 2019 logo
    How to create a Windows Server reference image using WDS Windows Server

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

Posted on 31/07/201909/10/2024 Christian By Christian No Comments on 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.

5/5 - (1 vote)

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

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
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

  • image 3
    How to Migrate Your WordPress Site with WordPress Duplicator Network | Monitoring
  • Remote desktop connection over udp and tcp
    Remote Desktop Connection behaviour over UDP and TCP Network | Monitoring
  • Featured image 10
    Add a Printer Using an IP Address in Windows 11 Network | Monitoring
  • images 4
    How to set up WatchGuard Log Server Network | Monitoring
  • Featured image   Network Access Permission...
    Fix You Might Not Have Permission to Use This Network Resource Error Network | Monitoring
  • Migrate from Universal Analytics to GA4 property
    Configure and Migrate from Universal Analytics to GA4 property Automation

More Related Articles

image 3 How to Migrate Your WordPress Site with WordPress Duplicator Network | Monitoring
Remote desktop connection over udp and tcp Remote Desktop Connection behaviour over UDP and TCP Network | Monitoring
Featured image 10 Add a Printer Using an IP Address in Windows 11 Network | Monitoring
images 4 How to set up WatchGuard Log Server Network | Monitoring
Featured image   Network Access Permission... Fix You Might Not Have Permission to Use This Network Resource Error Network | Monitoring
Migrate from Universal Analytics to GA4 property Configure and Migrate from Universal Analytics to GA4 property Automation

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • veeam backup for Proxmox VE
    Backup and Restore Proxmox VE virtual machines with Veeam Backup
  • ESXi
    How to install ESXi on VirtualBox Virtualization
  • Certificates
    The application /Certsrv does not exist: How to configure Certificate Enrollment Web Services and Certificate Authority Web Enrolment Windows Server
  • cloudqueryfeature
    How to Manage Cloud Assets in AWS with CloudQuery AWS/Azure/OpenShift
  • Backup for Microsoft 365 and Azure
    Veeam Backup Deployment options for Microsoft 365 Data AWS/Azure/OpenShift
  • 1 WeXxkEX0JG3oB781HD8Hrg 1
    Command Prompt in Windows: Creating Volumes Guide Windows
  • unnamed 1
    NSlookup Displays Error: UnKnown Default Server Windows Server
  • windows server 2019 logo
    How to create a Windows Server reference image using WDS Windows Server

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.