Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Static Trunk

Direct answer

A static trunk is configured with switchport mode trunk (and switchport nonegotiate to stop DTP), so the port is a trunk regardless of the neighbour.

When to use this

Use it for every switch-to-switch link where the design is fixed, and towards routers, firewalls and hypervisors that do not speak DTP.

First 30 seconds

1. show interfaces <if> switchport — Administrative Mode trunk, Operational Mode trunk, Negotiation off?

2. show interfaces trunk — native and allowed VLANs as intended on both ends?

3. Changing the allowed list → switchport trunk allowed vlan add <id>, never without add on a live trunk.

4. VLAN missing from "active" → create it locally.

5. Test a host in each VLAN across the link.

Operational verification

mode trunk on both ends → negotiation off → encapsulation 802.1Q → same native VLAN → allowed list as intended → VLANs forwarding

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandswitchport mode trunk
Scope / prerequisiteUse it for every switch-to-switch link where the design is fixed, and towards routers, firewalls and hypervisors that d…
Show · 2Reference · 5
What next?3 suggested next steps
Catalog command links7
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show interfaces trunk

Look first: trunk status, native VLAN, allowed/active/forwarding VLAN lists

Healthy: Expected trunk is up and VLAN is allowed, active and forwarding.

Warning: VLAN missing from any stage, native mismatch or non-trunk interface.

Does not prove: VLAN allowed on trunk does not prove endpoint MAC/L3 reachability.

show interfaces switchport

Look first: line/protocol state, errors/discards, rate, duplex/speed, last input/output

Healthy: State and counters align with expected traffic and physical conditions.

Warning: CRC/input errors, drops, resets, queue drops or unexpected negotiation.

Does not prove: An interface counter is a symptom until correlated with path/time/workload.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational verification and known-good state Verify boundary

Verify configured and operational state on both ends. show interfaces switchport should confirm the operational mode and native VLAN, while show interfaces trunk exposes trunking status and VLAN lists. For the failing VLAN, confirm it exists in the VLAN database, is allowed on both ends, appears active on the trunk and is forwarding in STP. Then inspect MAC learning on the expected interfaces. Compare with one VLAN known to work on the same trunk; this controls for physical-link health and focuses the investigation on VLAN-specific state. If a port-channel carries the trunk, verify the logical Port-Channel and member consistency rather than only one physical member. Known-good verification should include both the intended state and the packet or forwarding consequence that state is supposed to produce. This section is authored reference guidance for Static Trunk in the 802.1Q Trunking context. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.

Step 2 Verification and output interpretation Verify boundary

Use show interfaces trunk and switchport detail to verify operational trunk mode, encapsulation, native VLAN and allowed/active/forwarding VLAN sets. Compare both ends of the link. show spanning-tree vlan <id> shows whether the trunk is forwarding for a specific VLAN, while MAC-table evidence can show actual source learning across the link. A VLAN listed as allowed is only one prerequisite; confirm it is active and forwarding. If one VLAN fails while others work, focus on that VLAN's allowed/active/STP/native state rather than the physical link as a whole.

Step 3 Verification & troubleshooting Narrow the fault

Use show interfaces trunk to confirm operational trunking and VLAN lists; use show interfaces switchport for the detailed administrative/operational mode.

Step 4 Failure signatures and troubleshooting branches Narrow the fault

If no VLAN crosses the link, start with operational trunk mode and physical/Port-Channel state. If only one or several VLANs fail, compare allowed lists and VLAN existence before touching STP. A native mismatch can produce confusing control-plane messages or untagged traffic in the wrong VLAN; correct both ends as one bounded change. If the VLAN is allowed but shows not-forwarding, move to STP root/path analysis. If MAC addresses learn correctly across the trunk but Layer-3 traffic fails, stop modifying trunking and inspect SVI, routing, ACL or endpoint state. Avoid replacing an allowed list wholesale when an additive/removal command would make the change boundary clearer. Branch from the first contradictory state rather than changing multiple layers at once; the earliest broken boundary usually gives the highest-value next test. This section is authored reference guidance for Static Trunk in the 802.1Q Trunking context. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.

Step 5 When the problem is really fixed Narrow the fault

Closure requires the original failing VLAN to traverse the same trunk, learn expected MAC addresses and pass the original endpoint or gateway test while a previously healthy VLAN remains healthy. Re-read operational trunk output after convergence so the configured line is confirmed to have produced the intended runtime state. If native VLAN changed, test both tagged affected VLAN traffic and any intentional untagged/native traffic. Keep captured show output as Evidence only when actually collected; the seed text itself is not evidence that a production trunk was checked. Closure is the successful replay of the original workload plus bounded regression checks; authored guidance must never be promoted automatically to observed Evidence or verification metadata. This section is authored reference guidance for Static Trunk in the 802.1Q Trunking context. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.

Command lookup Jump straight to Cisco syntax
Key points

Configure both ends statically. On switches that support ISL, set switchport trunk encapsulation dot1q before switchport mode trunk. Restrict the allowed VLAN list (switchport trunk allowed vlan <list>) and use add to extend it — without add, the command replaces the list.

Key checks
  • show interfaces trunk — trunk ports, mode, encapsulation, native VLAN, allowed / active / forwarding VLANs.
  • show interfaces <if> switchport — administrative and operational mode, negotiation, native VLAN.
  • show dtp interface <if> — DTP state and negotiation.
  • show spanning-tree interface <if> — per-VLAN STP state on the trunk.
  • show cdp neighbors <if> detail — the neighbour's port, and native VLAN mismatch messages.
ReferenceWhat it is1 section · depth on demand

What it is

A static trunk is explicitly configured to operate as a trunk rather than relying on dynamic negotiation. It can define a native VLAN and restrict the allowed VLAN list.

ReferenceWhy it matters1 section · depth on demand

Why it matters

Use static trunking for predictable infrastructure links and whenever trunk formation should not depend on DTP negotiation.

ReferenceImportant terms & boundaries7 sections · depth on demand

Key points

switchport mode trunk sets trunk intent. switchport trunk allowed vlan ... replaces or modifies the permitted list depending on syntax; verify before changing because an accidental list replacement can remove production VLANs.

In depth

Static trunk: trunk mode set explicitly, with DTP turned off

A static trunk is configured with switchport mode trunk. The Catalyst 9300 trunk guide describes trunk mode as permanent trunking that works even if the neighbour isn't a trunk. switchport nonegotiate stops DTP frames; it can only be used with access or trunk mode, and the neighbour must also be configured as a trunk manually.

C9300(config)# interface TenGigabitEthernet1/1/1
C9300(config-if)# switchport mode trunk
C9300(config-if)# switchport nonegotiate
C9300(config-if)# switchport trunk native vlan 998
C9300(config-if)# switchport trunk allowed vlan 20,30,120
C9300# show interfaces TenGigabitEthernet1/1/1 switchport | include Mode|Negotiation|Native|Trunking VLANs
Administrative Mode: trunk
Operational Mode: trunk
Negotiation of Trunking: Off
Trunking Native Mode VLAN: 998 (NATIVE-UNUSED)
Trunking VLANs Enabled: 20,30,120

Why static trunks

With DTP (dynamic modes)Static trunk with nonegotiate
Result depends on the neighbour's modePredictable
A user device can negotiate a trunk on an access port left in dynamic modeNo negotiation possible
DTP frames sent to non-Cisco devicesNo DTP; the Catalyst 9000 trunk guide recommends nonegotiate for links to non-Cisco devices

Allowed VLAN list syntax (from the guide)

CommandEffect
switchport trunk allowed vlan 20,30Replace the list
… add 40Add VLAN 40
… remove 30Remove VLAN 30
… except 1All VLANs except 1
… none / … allEmpty list / all VLANs

The guide notes that a trunk only carries a newly created VLAN if it's in the allowed list.

A common mistake

switchport trunk allowed vlan 40 without add replaces the whole list. Every other VLAN on the trunk stops at once. Use add and remove on production trunks, and check show interfaces trunk before and after.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Allowed-list command semantics

switchport trunk allowed vlan <list> sets/replaces the configured list. ... add <list> appends VLANs without discarding existing entries; ... remove <list> removes selected VLANs. Treat replacement as a potentially disruptive operation.

Quick reference

A static trunk is configured with switchport mode trunk (and usually switchport nonegotiate) so the port is always a trunk regardless of the neighbor's DTP messages. It is the recommended way to build trunks.

interface Gi1/0/48
 switchport mode trunk
 switchport nonegotiate
 switchport trunk allowed vlan 10,20,30

Documented example, not captured output.

The neighbor must also be a trunk; a static trunk facing an access port results in VLAN leaking and native VLAN mismatch messages.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Mechanics and state ownership

A static trunk makes the local switchport operate as a Layer-2 trunk rather than depending on a dynamic access/trunk decision. The trunk can transport multiple VLANs, but forwarding is constrained by the intersection of VLANs that exist locally, are allowed on the trunk and are in a forwarding STP state. 802.1Q normally tags frames to identify the VLAN while native-VLAN traffic may be sent untagged under common Cisco behavior unless native tagging is enabled. Because untagged frames are classified into the receiving port’s native VLAN, a native-VLAN mismatch can silently bridge traffic into different VLANs even though the physical link remains up. This section is authored reference guidance for Static Trunk in the 802.1Q Trunking context. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.

State model and protocol mechanics

A static trunk is administratively configured as a trunk rather than relying on negotiation. Ethernet frames for most VLANs are transmitted with an 802.1Q tag identifying the VLAN, while native-VLAN frames may be untagged depending on configuration. The trunk has an allowed-VLAN set that defines which broadcast domains can cross the link. A VLAN can be configured in the allowed list but still not forward because the VLAN is absent/inactive locally or STP blocks it. EtherChannel trunks add another logical layer: the trunk applies to the port-channel while physical members must be consistent. The receiving switch uses the tag to place the frame into the matching local VLAN context.

Limits and common misconceptions

Trunk up does not mean every VLAN is carried successfully. Allowed, active and STP-forwarding sets can differ. A native VLAN mismatch can create confusing untagged-frame placement without taking the trunk down. Static trunk configuration also does not create missing VLANs on the remote switch. Seeing tagged frames shows transmission on the observed side, not that the remote switch accepts or forwards them. Keep physical link, trunk mode, VLAN allowance, VLAN existence and STP state as separate checks. A trunk that works for one VLAN is useful evidence for the physical link and trunk mode, but it cannot be generalized to another VLAN whose allow-list or spanning-tree instance differs.

ReferenceConfiguration & state2 sections · depth on demand

Cisco static trunk baseline

Typical baseline: switchport mode trunk, set an intentional switchport trunk native vlan <id> if required by design, and constrain switchport trunk allowed vlan <list> where appropriate. Verify the resulting operational trunk before and after changing an allowed list.

Design and configuration model

Force trunk mode on infrastructure links where a trunk is intended and define the allowed VLAN list instead of carrying unnecessary VLANs by default. Keep native VLAN choices consistent on both ends and avoid using the native VLAN for sensitive user traffic. Ensure VLAN IDs have the same semantic meaning across the connected Layer-2 domain. When changing allowed VLAN lists, consider both directions and every hop in the path so partial pruning does not produce asymmetric Layer-2 reachability. On EtherChannels, configure trunk parameters consistently on the logical port-channel according to platform best practice rather than allowing member-level drift.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Switching → 802.1Q Trunking → Static Trunk. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
allowed vlan list
Embedded reference data

Quick lookup tables

Allowed VLAN command behavior

Difference between replacing and modifying a Cisco trunk VLAN list.

CommandEffectRisk
switchport trunk allowed vlan <list>Sets/replaces allowed listCan accidentally remove existing production VLANs
... add <list>Adds VLANsMay expand segmentation unexpectedly
... remove <list>Removes VLANsImmediately blocks removed VLANs locally

Static Trunk · operational reference

Compact state and interpretation boundaries for fast lookup.

Trunk layerCheck
LinkPhysical/interface up
ModeOperational trunk
VLAN scopeAllowed + active
ForwardingSTP forwarding per VLAN

Static Trunk operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

Trunk stateKnown-goodFailure signatureNext boundary
Operational modetrunk both endsaccess/dynamic mismatchSwitchport mode
Native VLANIntentional and symmetricMismatch/untagged misclassificationNative handling
Allowed VLANFailing VLAN allowed both endsMissing on one sideAllowed list
STP stateForwarding for VLANBlocking/inconsistentSTP
MAC learningExpected MACs across trunkNo learning despite forwardingL2/endpoints
Confirmation

Confirm action

Continue?