In this session of A Few Easy Steps, we will Setup Trunk Port on a Cisco Switch.
In General this will work on any Cisco Switch.
Session Prerequisites:
- You have terminal or console access to your Cisco device.
Session Assumptions:
- We are using Interface Fastethernet 0/14
- We are trunking All VLANs
- Native VLAN is 200
- We are building a dot1q trunk
Our goals of this session are:
- Change port trunk encapsulation
- Change Switchport mode
- Allow all VLANs on Trunk
- Set native VLAN
Change port trunk encapsulation
! conf t ! interface fastethernet 0/14 ! switchport trunk encapsulation dot1q ! end ! copy running-config startup-config
Change Switchport mode
! conf t ! interface fastethernet 0/14 switchport mode trunk end ! copy running-config startup-config
Allow all VLANs on Trunk
! conf t ! interface fastethernet 0/14 ! switchport trunk allow vlan all ! end ! copy running-config startup-config
Set native VLAN
! conf t ! interface fastethernet 0/14 ! switchport trunk native vlan 200 ! end ! copy running-config startup-config
Entire Session:
! conf t ! interface fastethernet 0/14 ! switchport trunk encapsulation dot1q ! switchport mode trunk ! switchport trunk allow vlan all ! switchport trunk native vlan 200 ! end ! copy running-config startup-config