05-24-2006 02:55 PM - edited 03-03-2019 03:22 AM
SW-B-TOP(config-if)#switchport mode trunk
When trying to execute the above command am getting the following error.
Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.
05-24-2006 03:30 PM
You have to specifically set the encapsulation type first "switchport encapsulation dot1q" then try youir command...
05-24-2006 03:47 PM
it's not accepting.
SW-B-TOP(config-if)#switchport encapsulation dot1q
^
% Invalid input detected at '^' marker
the model is CGESM.
07-15-2015 12:39 PM
You forgot the "TRUNK" portion to the command. It's SWITCHPORT TRUNK ENCAPSULATION DOT1Q
07-04-2018 04:37 AM
02-03-2019 11:59 PM
Thanks a lot.It worked for me
08-18-2023 11:12 AM
Thanks for that. Sometimes I'm a dummy lol.
03-19-2016 07:51 AM
05-24-2006 04:32 PM
You need to specifically set the encapsulation first , "switchport encapsulation dot1q" then issue your trunk command...
05-15-2018 12:00 AM
08-10-2018 02:32 AM
specially in cisco 3500 series..
Switch (config-if) # switchport trunk encapsulation ( dot1q | isl )
If you are using cisco use command
#switchport trunk encapsulation isl
#switchport mode trunk
OR ( multi-vendors like hp, juniper & also for cisco)
#switchport trunk encapsulation dot1q
#switchport mode trunk
I hope It helps you
08-10-2018 02:34 AM
@glen.grant wrote:
You need to specifically set the encapsulation first , "switchport encapsulation dot1q" then issue your trunk command...
specially in cisco 3500 series..
Switch (config-if) # switchport trunk encapsulation ( dot1q | isl )
If you are using cisco use command
#switchport trunk encapsulation isl
#switchport mode trunk
OR ( multi-vendors like hp, juniper & also for cisco)
#switchport trunk encapsulation dot1q
#switchport mode trunk
08-10-2018 11:32 PM
Thank you kindly, you helped in finding a solution to my problem. :)
05-24-2006 04:36 PM
can you post the config...
05-24-2006 10:00 PM
Hi All,
The command which he need to enter first is
"switchport trunk encapsulation dot1q " and then he can confgigure the interface in trunk mode.
So try this command
switch(config)#interface fa0/1
switch(config-if)#switchport trunk encapsulation dot1q
switch(config-if)#switchport mode trunk
and you will be good to go.
HTH, if yes please rate the post.
Ankur
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide