Cisco IOS-XE No Longer Uses Trunk Encapsulation Dot1q
I have a pair of Cisco Catalyst 3650X-48TS switches running IOS 12.2(55) and when using trunk encapsulating dot1q from the router to the switch, and then, to the client, Cisco decided to change the commands.
For example, I want to pass two VLANs from the switch to my ESXi hosts. VLAN 11 is the native VLAN (i.e. VMKernel network) that will be used to connect to VMware vSphere Client while, VLAN 12 is the vMotion network.
IOS 12.2(55) Example – Trunk Encapsulation Dot1q
switch# sh run int gi0/7 interface GigabitEthernet0/7 description AZ-R630-3-LOM3 switchport trunk encapsulation dot1q switchport trunk allowed vlan 11,12 switchport mode trunk spanning-tree portfast trunk !
On newer switches, like my pair of Cisco Catalyst 3650-48TS running IOS XE 3.3, the untagged VLAN uses the native VLAN command. VLAN 11 is the VMKernel network (Native VLAN).
IOS-XE 3.3 Example – Without Trunk Encapsulation Dot1q
switch# sh run int gi1/0/7 interface GigabitEthernet1/0/7 description AZ-R630-3-LOM3 switchport trunk native vlan 11 switchport trunk allowed vlan 11,12 switchport mode trunk spanning-tree portfast trunk !
It took me like 8 hours of research on Cisco Support forums to find this gem. Apparently, according to Cisco Support you cannot set the encapsulation. However, the switch does support 802.1q
For more information about VLAN tagging click below.
Why and how are Ethernet Vlans tagged?
Catalyst 2960 and 2960-S Software Configuration Guide, 12.2(55)SE
VLAN Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3650 Switches)