02-11-2015 08:09 AM - edited 03-07-2019 10:36 PM
Hi all,
I'am working on this switch's configuration. when I typed "switchport mode trunk encapsulation dot 1q", I got an error " invavid input". I'm guessing that this model already set encapsulation type to dot 1q, and that's why the switch won't take it, right?
Please help!
Solved! Go to Solution.
02-11-2015 08:50 AM
According to the documents it supports both.
You are however using the wrong command, it should be -
"switchport trunk encapsulation dot1q"
ie. no "mode" keyword.
If it doesn't take that then do a "sh int <x> capabilities" and it should show you which encapsulation methods are supported.
Jon
02-11-2015 08:48 AM
Hi
You don't put the word 'mode' in there.
Remember, the ? key is the only command you need to know when configuring Cisco kit :-)
Regards
Aaron
02-16-2015 02:26 PM
Hi Aaron,
your are right. comes to CLI, "? key" should be my best friend. I don't have to remember hundreds of command any more. hehe.
Thank you for the tip!
Take care
02-11-2015 08:50 AM
According to the documents it supports both.
You are however using the wrong command, it should be -
"switchport trunk encapsulation dot1q"
ie. no "mode" keyword.
If it doesn't take that then do a "sh int <x> capabilities" and it should show you which encapsulation methods are supported.
Jon
02-15-2019 06:35 PM
Hi Jon!
Actually I don´t have that option.
SW-CORE-MCO(config-if)#switchport trunk ?
allowed Set allowed VLAN characteristics when interface is in trunking mode
native Set trunking native characteristics when interface is in trunking
mode
pruning Set pruning VLAN characteristics when interface is in trunking mode
02-16-2015 02:22 PM
hey, Jon
how are you?
Thank you for your tip again!
03-04-2019 06:46 AM
You are right it is set by default......
you don't have to run this command anymore.
You can see with show interface x/x switchport , once its sets to trunk that's enough.
for example; sh int gi0/1 switchport
Access Port should have these option;
Administrative Mode: static access
Negotiation of Trunking: Off
***Trunk Port should have these option;
Administrative Mode: trunk
Negotiation of Trunking: On
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