ITNuvoAkademiya
Academy homePackagesPlaylistsToolsSubnet calculatorSearchGlossary
CiscoCCNA · CCNA: networking fundamentals1. Introduction2. Network Fundamentals3. Network Access4. IP Connectivity5. IP Services6. IPv67. Security Fundamentals8. AutomationCCNP: Enterprise networks · coming soon
LinuxLinux: system administrator üçün · Linux for system administrators1. Getting to know Linux2. Working with text3. Users and permissions4. Processes and packages5. Inside the system6. Monitoring and logs7. NetworkingRed Hat Enterprise Linux · Red Hat Enterprise Linux: from beginner to advanced1. Getting started2. Packages3. Users and permissions4. SELinux5. Services6. Storage7. Networking8. Building services9. Boot and recovery10. DevOps11. Security and monitoring
FortinetFortiGate Administrator · FortiGate Administrator: from first login to ZTNA1. Getting to know FortiGate2. Routing, policy and NAT3. Security profiles4. Users and logs5. Resilience, SD-WAN and automation6. VDOM7. VPN and ZTNA8. Proxy9. DMZ
MonitoringZabbix · Zabbix: from installation to alerts1. Introduction2. Installation and the database3. Basics: groups, templates, users4. Connecting devices5. Alerts, Grafana and the API
VirtualizationProxmox VE · coming soonVMware ESXi · coming soon
My account / Sign in
AZENRU
← itnuvo.com

Configuring trunks: encapsulation, allowed VLANs and the native VLAN

Lesson 3.510 minBeginnerNovember 3, 2026

Sign in to read this lesson

To connect the same VLAN on two switches, create the VLAN on both and make the link between them a trunk. On switches that also support ISL you first type "switchport trunk encapsulation dot1q" and then "switchport mode trunk". show interfaces trunk shows the trunk's mode, encapsulation, native VLAN and allowed VLANs. "switchport trunk allowed vlan" limits the VLANs on the trunk, and "switchport trunk native vlan" changes the native VLAN.

What you will learn

  • Create the VLAN on both switches, then make the link between them a trunk: switchport mode trunk.
  • On switches that also support ISL (3550/3560) switchport mode trunk is rejected ("encapsulation is Auto"). Type switchport trunk encapsulation dot1q first. Switches that only support dot1q, such as the 2960/9200, do not have this command.
  • show vlan does not show trunk ports. Check trunks with show interfaces trunk: Mode, Encapsulation, Status, Native vlan, Vlans allowed.
  • switchport trunk allowed vlan 1-50 replaces the list. To add to an existing list always use add, or the other VLANs are cut off.
  • switchport trunk native vlan 10 changes the native VLAN. Do it on both ends, or you get a %CDP-4-NATIVE_VLAN_MISMATCH warning and the VLANs get mixed.

The lesson has 5 key points, an explanation and 5 questions. It opens with a package.