Use it for every switch-to-switch link where the design is fixed, and towards routers, firewalls and hypervisors that do not speak DTP.
Static Trunk
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.
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.
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
Operational reference
Fast context before you go deeper.
switchport mode trunkPrimary Commands
Configuration and operational commands for this Topic.
switchport mode trunkReferenceMake the port a static trunk.
Use when: Make an infrastructure link carry multiple VLANs using trunking without relying on dynamic mode selection.
Quick note: Verify operational trunk plus allowed/native VLANs after change.
Cisco IOS / IOS XE · mixedswitchport trunk native vlan <id>ReferenceSet the native VLAN of a trunk; it must match on both ends.
Use when: Set the VLAN used for untagged native traffic on a Cisco 802.1Q trunk.
Quick note: Configure both ends consistently and verify with trunk/switchport output.
Cisco IOS / IOS XE · mixedswitchport trunk allowed vlan <list>ReferenceSet the VLANs allowed on a trunk (replaces the list).
Use when: Set/restrict the trunk allowed VLAN list.
Quick note: Use add/remove when modifying an existing list deliberately; verify every required VLAN.
switchport trunk allowed vlan add <list>ReferenceAdd VLANs to the trunk allowed list.
Use when: Add required VLANs without replacing the existing trunk list.
Quick note: Verify allowed/active/forwarding list on every trunk hop.
Cisco IOS / IOS XE · mixedswitchport trunk allowed vlan remove <list>ReferenceRemove VLANs from the trunk allowed list.
Use when: Deliberately stop selected VLANs from traversing the trunk.
Quick note: Verify dependencies and post-change trunk lists.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show interfaces trunkShowDisplay trunk state, native VLAN and allowed/active VLANs.
Use when: Determine whether a trunk formed and whether a specific VLAN is permitted/active/forwarding locally.
Quick note: Best per-VLAN trunk boundary check; compare both ends and every hop.
Cisco IOS XE · mixedshow interfaces switchportShowShows administrative/operational switchport mode, access VLAN, native VLAN and trunk details.
Use when: Establish the actual switchport role and VLAN assignment for access/trunk/voice troubleshooting.
Quick note: Primary local switchport-mode evidence; combine with show interfaces trunk for trunk VLAN lists.
How to read the output
show interfaces trunkLook 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 switchportLook 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.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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.
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.
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 mode | Predictable |
| A user device can negotiate a trunk on an access port left in dynamic mode | No negotiation possible |
| DTP frames sent to non-Cisco devices | No DTP; the Catalyst 9000 trunk guide recommends nonegotiate for links to non-Cisco devices |
Allowed VLAN list syntax (from the guide)
| Command | Effect |
|---|---|
switchport trunk allowed vlan 20,30 | Replace the list |
… add 40 | Add VLAN 40 |
… remove 30 | Remove VLAN 30 |
… except 1 | All VLANs except 1 |
… none / … all | Empty 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.
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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Allowed VLAN command behavior
Difference between replacing and modifying a Cisco trunk VLAN list.
| Command | Effect | Risk |
|---|---|---|
switchport trunk allowed vlan <list> | Sets/replaces allowed list | Can accidentally remove existing production VLANs |
... add <list> | Adds VLANs | May expand segmentation unexpectedly |
... remove <list> | Removes VLANs | Immediately blocks removed VLANs locally |
Static Trunk · operational reference
Compact state and interpretation boundaries for fast lookup.
| Trunk layer | Check |
|---|---|
| Link | Physical/interface up |
| Mode | Operational trunk |
| VLAN scope | Allowed + active |
| Forwarding | STP forwarding per VLAN |
Static Trunk operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Trunk state | Known-good | Failure signature | Next boundary |
|---|---|---|---|
| Operational mode | trunk both ends | access/dynamic mismatch | Switchport mode |
| Native VLAN | Intentional and symmetric | Mismatch/untagged misclassification | Native handling |
| Allowed VLAN | Failing VLAN allowed both ends | Missing on one side | Allowed list |
| STP state | Forwarding for VLAN | Blocking/inconsistent | STP |
| MAC learning | Expected MACs across trunk | No learning despite forwarding | L2/endpoints |