Lesson 2 — WLC Architecture, AP Modes, and CAPWAP
WLC Architecture, AP Modes, and CAPWAP
Compare autonomous and lightweight-AP deployments, trace how a lightweight AP joins a WLC over CAPWAP control and data tunnels, and map a WLAN to a VLAN through a WLC dynamic interface.
Lesson orientation
What you'll learn (5 objectives)~52 min: video → lesson → check → apply → lab prep
Learning objectives
- Contrast an autonomous-AP deployment with a lightweight-AP-plus-WLC (split-MAC) deployment and say which functions live where
- Trace the CAPWAP join sequence and name the control (UDP 5246) and data (UDP 5247) tunnels and what each carries
- Identify common lightweight-AP modes (Local, FlexConnect, Monitor, Sniffer) and when each is used
- Map a WLAN/SSID to a VLAN through a WLC dynamic interface and explain why AP switch ports are usually access ports in centralized mode
- Describe how the WLC management interface is reached and why AP-to-WLC join uses X.509 certificates
Terms you will see
Time breakdown
- Read the notes24 min
- Trace the CAPWAP join and data path14 min
- Work the AP-mode and VLAN-mapping cases14 min
Assigned video

Wireless Architectures (Day 56)
By Jeremy's IT Lab · Opens externally on YouTube
- Assigned watch
- ~8 min
Where to stop
If autonomous versus lightweight is already clear from the reading, jump to the CAPWAP tunnel and AP-mode segments.
The source marks this segment timestampStatus="unresolved" with no start or end, so no bounds are shown here.
The link opens in a new browser tab. Return here when you finish watching.
Watch for these concepts
- How split-MAC divides the AP and WLC roles
- The CAPWAP join, and what control 5246 and data 5247 each carry
- What the common AP modes are for
Go beyond the video
The assigned video introduces the idea. CCNA Practice Labs completes the learning path: clarify core concepts, explore how each device behaves, visualize the communication path, check your understanding, and prepare for hands-on lab work.
Watch the concept → understand it → visualize it → practice it → apply it.
Why 400 APs cannot be configured one at a time
An autonomous AP holds its own configuration and bridges SSIDs directly onto the wired network. That is fine for a handful of APs. At 400 it means 400 places to make — and to mistake — the same change, no coordinated RF planning, no central view of roaming, and client VLANs stretched everywhere. Because one autonomous AP can serve several SSIDs and VLANs, its switch port is typically a trunk.
In the controller model the AP is lightweight: it keeps only the real-time radio jobs, and everything else moves to the Wireless LAN Controller. That division is called split-MAC.
| Lightweight AP (real-time, local) | WLC (policy and coordination, central) |
|---|---|
| Transmit and receive RF; send beacons; answer probes | RF management — channel and transmit-power assignment |
| Encrypt and decrypt frames | Security and QoS policy |
| Buffer and prioritise frames for the air | Client authentication, association, and roaming |
The payoff is that one policy change on the WLC applies to every AP, and the controller can optimise channels and power and steer roaming across the whole coverage area — none of which an autonomous AP can do, because it cannot see beyond its own cell.
CAPWAP: two tunnels, two ports
| Tunnel | UDP port | Carries |
|---|---|---|
| Control | 5246 | Configuration and management between AP and WLC (encrypted by default) |
| Data | 5247 | Client traffic tunnelled from the AP to the WLC (optional DTLS encryption) |
The WLC's own uplink to the distribution switch is a different matter. Because one controller aggregates the CAPWAP traffic of many APs, that uplink is frequently a link aggregation group — several physical ports bundled into one logical link for bandwidth and redundancy, so a single port failure does not take the controller offline.
- The AP powers up and gets an IP address, typically by DHCP. DHCP option 43 can hand it the WLC management IP so it knows where to look.
- It discovers candidate WLCs — via option 43, DNS, or broadcast — and picks one.
- It validates certificates and joins, building the CAPWAP control tunnel on UDP 5246.
- It downloads its configuration and image from the WLC, then builds the CAPWAP data tunnel on UDP 5247 and begins serving clients.
| Mode | Purpose |
|---|---|
| Local | Default — serves clients in normal BSS operation |
| FlexConnect | Branch survivability — switch client traffic locally if the CAPWAP path to the WLC fails |
| Monitor | Serves no clients; scans for rogues and interference |
| Sniffer | Captures 802.11 frames and forwards them to a packet analyzer |
The data path, and where the VLAN actually lives
| Hop | What travels | Notes |
|---|---|---|
| Client to AP | 802.11 frame | Encrypted over the air |
| AP to WLC (data) | CAPWAP data, UDP 5247 | AP switch port is an access port |
| WLC to switch | Client frame on its VLAN | WLAN mapped to a dynamic interface |
| AP to WLC (control) | CAPWAP control, UDP 5246 | Config, image, RF and security policy |
On the WLC, each WLAN — each SSID — is bound to a dynamic interface, and that dynamic interface is tagged into a VLAN. So "SSID CorpWiFi lands in VLAN 100" really means "the CorpWiFi WLAN maps to the dynamic interface on VLAN 100". You build the dynamic interface first and attach the WLAN to it afterwards, which is exactly the order the next lesson follows.
What you should retain
- Autonomous APs are self-contained; lightweight APs plus a WLC split the work — the AP does real-time RF, the controller does policy and coordination.
- The join flow is DHCP (option 43 supplies the WLC IP), discover, certificate-validated join, control tunnel, data tunnel, serve clients.
- CAPWAP control is UDP 5246 and CAPWAP data is UDP 5247. Swapping them is the classic wrong answer.
- A WLAN maps to a dynamic interface, which maps to a VLAN — so the client VLAN lives at the WLC and the AP switch port is an access port.
- AP modes: Local by default, FlexConnect for branch survivability, Monitor for rogue scanning, Sniffer for capture.
- The WLC uplink is often a LAG, because one controller aggregates many APs' traffic.
Before you read on
(1) A campus needs 400 APs with identical SSIDs and security. Name two problems the autonomous model creates at that scale, and what a controller centralises to fix them. (2) In centralized mode, why is the AP's switch port an access port rather than a trunk — and what would you expect instead in an autonomous deployment?
See it happen
Wireless Explorer
Trace the AP-to-WLC relationship and confirm for yourself which segment carries CAPWAP and which carries the client VLAN — that distinction is the whole lesson in one picture.
Check this section before moving on
RF Fundamentals & Controller Architecture
The quiz opens on its own page so you can focus on it. It is a Week 1 milestone, tracked separately from this lesson's own completion.
Topics covered
- • CSMA/CA and the shared medium
- • The 1/6/11 channel plan and adjacent-channel interference
- • SSID, BSSID, and the service sets
- • Split-MAC and the CAPWAP tunnels
- • AP modes and WLAN-to-VLAN mapping
Study deeper
Topic guides extend this lesson — they do not replace the first-party walkthrough above.
Wireless Architectures
For the fuller split-MAC and WLC deployment-model reference
