Command
Switchport Trunk Native Vlan
Use
Changes the native VLAN for dot1q encapsulation.
Syntax
Switch(config-if)#switchport trunk native vlan <vlan #>
Example
In this example, the native VLAN for int fa0/2 is changed.
SW#conf t |
Here’s the trunking information for SW3.
SW3(config-if)#do show int trunkPort Mode Encapsulation Status Native vlan Fa0/19 auto 802.1q trunking 55 Fa0/20 auto n-802.1q trunking 1 Fa0/21 auto n-802.1q trunking 1 Fa0/22 auto n-802.1q trunking 1 Port Vlans allowed on trunk Port Vlans allowed and active in management domain Port Vlans in spanning tree forwarding state and not pruned |