Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

AP trunk connection

Direct answer

An AP connects to a trunk port when it switches client traffic locally (FlexConnect or autonomous), so its client VLANs must be allowed on the trunk.

When to use this

Use it when a FlexConnect AP needs a trunk carrying its management VLAN plus locally switched client VLANs.

First 30 seconds

1. FlexConnect/local-switching APs use trunk ports.

2. Native VLAN = AP management.

3. Allow client VLANs.

4. Match FlexConnect VLAN mappings.

5. Prune unneeded VLANs.

Operational verification

trunk → native mgmt VLAN → client VLANs locally switched

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Client VLANs not allowed on the trunk or not mapped in the flex profile.
  • Native VLAN mismatch (AP management lands in the wrong VLAN).
  • STP not configured for trunk edge (spanning-tree portfast trunk).
  • Mapping VLAN IDs that exist centrally but not at the branch.
Platform / version applicability
Cisco wireless platforms
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 wireless platforms · Cisco IOS XE
Scope / prerequisiteUse it when a FlexConnect AP needs a trunk carrying its management VLAN plus locally switched client VLANs.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • FlexConnect and autonomous APs connect to trunk ports when they switch several client VLANs locally.
  • The native VLAN usually carries AP management.
  • Allowed VLANs on the trunk must include every locally switched WLAN VLAN.
Key checks
  • show interfaces <ap-port> trunk — allowed VLANs, native VLAN
  • show cdp neighbors <ap-port> detail — AP
ReferenceWhat it is1 section · depth on demand

Switch port for a FlexConnect AP

interface GigabitEthernet1/0/10
 switchport mode trunk
 switchport trunk native vlan 50          ! AP management (untagged)
 switchport trunk allowed vlan 50,20,30   ! client VLANs used locally
 spanning-tree portfast trunk

Documented example, not captured output. The AP's management IP is in the native VLAN; client VLANs must match the flex profile VLAN mappings.

ReferenceWhy it matters1 section · depth on demand

Overview

When an access point puts client traffic directly onto local VLANs — in FlexConnect local switching or standalone operation — the switch port must be a trunk that carries those VLANs. The AP sends its own management traffic untagged, so the trunk's native VLAN must be the AP management VLAN.

An AP on a trunk port: required for FlexConnect local switching, autonomous APs and some fabric designs, so client VLANs can be tagged at the AP.

interface Gi1/0/11
 description AP-FLEX-01
 switchport mode trunk
 switchport trunk native vlan 10
 switchport trunk allowed vlan 10,20,30
 spanning-tree portfast trunk

The native VLAN must be the AP management VLAN, because the AP sends its own traffic untagged.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Connecting an AP to a trunk port

FlexConnect APs that switch client traffic locally put each WLAN's traffic on a VLAN at the AP's own switch port. Cisco's Catalyst 9800 best practices guide says those APs need trunk mode, recommends spanning-tree portfast trunk, and recommends pruning the trunk to the VLANs configured on the AP.

SW(config)# interface GigabitEthernet1/0/21
SW(config-if)# description AP-BR1-03 FlexConnect
SW(config-if)# switchport mode trunk
SW(config-if)# switchport trunk native vlan 50
SW(config-if)# switchport trunk allowed vlan 50,210,220
SW(config-if)# switchport nonegotiate
SW(config-if)# spanning-tree portfast trunk
SW(config-if)# power inline auto
WLC(config)# wireless profile flex BRANCH1-FLEX
WLC(config-wireless-flex-profile)# native-vlan-id 50
WLC(config-wireless-flex-profile)# vlan-name CORP-USERS
WLC(config-wireless-flex-profile-vlan)# vlan-id 210
SW# show interfaces GigabitEthernet1/0/21 trunk
Port        Mode             Encapsulation  Status        Native vlan
Gi1/0/21    on               802.1q         trunking      50
Port        Vlans allowed on trunk
Gi1/0/21    50,210,220

Native VLAN

The AP sends its own management and CAPWAP traffic untagged, so the switch port's native VLAN is the AP management VLAN. The flex profile's native VLAN ID must match it (the configuration model technote lists the native VLAN ID among the flex profile settings).

Switch trunkFlex profileResult
Native 50, allowed 50,210,220Native 50, VLANs 210 and 220Works
Native 1, allowed 50,210Native 50AP gets an address in the wrong VLAN, or none
VLAN 220 not allowedWLAN mapped to VLAN 220Clients on that WLAN get no address

Local versus FlexConnect switching

Local modeFlexConnect local switching
Client trafficThrough the controllerDirectly at the branch
AP portAccessTrunk
Survives WAN lossNoYes, for already associated clients and local authentication
Latency to the controllerLimited to 20 ms (best practices guide)Can be higher

FlexConnect suits branches; local mode suits campuses with the controller nearby.

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.
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 wireless platforms Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Wireless → Physical WLAN Infrastructure → AP trunk connection. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/wireless/index.html · confidence 94%
Confirmation

Confirm action

Continue?