Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

CAPWAP concepts

Direct answer

CAPWAP (Control and Provisioning of Wireless Access Points) is the tunnel between lightweight APs and the WLC: UDP 5246 for control (DTLS-encrypted) and UDP 5247 for client data.

When to use this

Use it when APs fail to join a controller, or when firewalls and MTU must allow CAPWAP control and data.

First 30 seconds

1. CAPWAP tunnels control (UDP 5246, DTLS) and data (UDP 5247) between AP and WLC.

2. Discovery via DHCP option 43, DNS, broadcast.

3. Certificates authenticate.

4. MTU and firewall matter.

5. Check join statistics.

Operational verification

AP discovery → join (DTLS) → config → data tunnel

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
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.

PlatformProtocol standard · Cisco IOS / IOS XE
Scope / prerequisiteUse it when APs fail to join a controller, or when firewalls and MTU must allow CAPWAP control and data.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

1 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 Verification and output interpretation Verify boundary

Verify AP discovery and join state, controller identity, CAPWAP control uptime and configuration synchronization. If centralized switching is used, verify data-tunnel counters and the controller-side client forwarding path separately. If local switching is used, confirm that CAPWAP control is healthy while client data appears on the expected local VLAN. Underlay reachability, latency/MTU and security-device counters can explain control-channel instability but should be correlated with AP/controller logs. A joined AP is strong evidence for the control tunnel; it is not evidence that every WLAN or client policy is working.

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
  • CAPWAP is the tunnel protocol between lightweight APs and the WLC.
  • Control traffic uses UDP 5246 (DTLS-encrypted); data uses UDP 5247.
  • If CAPWAP control fails, the AP cannot join and serves no clients.
Key checks
  • show ap summary — joined APs
  • show ap join stats summary — join failures
  • show capwap client rcb — AP side (on AP)
ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

CAPWAP: how APs and controllers talk

RFC 5415 defines CAPWAP (Control And Provisioning of Wireless Access Points), which lets an Access Controller manage a collection of Wireless Termination Points. It is independent of the radio technology; RFC 5416 binds it to IEEE 802.11. CAPWAP has two channels: a control channel for CAPWAP control messages, secured by DTLS, and a data channel carrying forwarded wireless frames, optionally secured.

Session lifecycle (RFC 5415)

PhaseWhat happens
DiscoveryThe AP sends Discovery Requests; controllers reply with Discovery Responses
DTLS setupA DTLS session is established with the chosen controller
JoinJoin Request and Join Response
Image dataFirmware download if the AP's image differs from the controller's
ConfigureConfiguration exchanged
Data checkControl and data channel linkage confirmed
RunNormal operation; Echo Requests and Responses keep the session alive

MAC modes (RFC 5415)

ModeBehaviour
Split MACAll Layer 2 wireless data and management frames are carried between AP and controller
Local MACData frames bridged locally or tunnelled as 802.3; management frames processed at the AP

Ports

CAPWAP uses UDP 5246 for control and UDP 5247 for data. Firewalls between APs and controllers must allow both.

WLC# show ap name AP-2F-14 config general | include CAPWAP|DTLS|MTU
CAPWAP Path MTU                        : 1485
DTLS Encryption State                  : Disabled
WLC# show wireless stats ap join summary
AP-2F# show capwap client rcb
AdminState                 :  ADMIN_ENABLED
SwVer                      :  17.15.3.6
NumFilledSlots             :  3
Name                       :  AP-2F-14
Location                   :  2nd floor
MwarName                   :  WLC-9800-1
MwarApMgrIp                :  10.100.0.10

DTLS Encryption State: Disabled refers to the data channel; the control channel is always DTLS-protected.

Discovery methods in practice

MethodDetail
DHCP option 43Controller address in the AP's DHCP offer
DNSAP resolves CISCO-CAPWAP-CONTROLLER.<domain>
BroadcastController in the same subnet
Previously joined controllersStored in the AP

Troubleshooting

SymptomCheck
AP never joinsIP address, route to the controller, discovery method, UDP 5246/5247 open
AP joins and drops repeatedlyDTLS certificate or time issues, MTU on the path, controller capacity
AP stuck downloadingImage transfer over a slow WAN; consider pre-downloading images

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.

Quick reference

CAPWAP (Control And Provisioning of Wireless Access Points) is the protocol between lightweight APs and the WLC. The control channel (UDP 5246) is DTLS-encrypted; the data channel (UDP 5247) tunnels client traffic in local mode and can be encrypted optionally.

CAPWAP phasePurpose
DiscoveryAP finds candidate WLCs
DTLS setupCertificate-based mutual authentication
JoinAP registers
Image/config downloadMatching software and configuration
RunNormal operation

CAPWAP adds overhead; with path MTU issues, APs and WLC negotiate a lower CAPWAP MTU.

State model and technical mechanics

CAPWAP lets an access point discover and join a controller across an IP network. The control channel carries join, configuration, keepalive and management information and is protected with DTLS in Cisco deployments. A separate CAPWAP data channel can encapsulate client frames when centralized switching is used; local/Flex switching can leave selected client traffic at the AP site even though CAPWAP control remains active. CAPWAP therefore creates an overlay dependency on the routed underlay between AP and controller. Discovery can use locally configured controller information, DHCP/DNS or broadcast/local methods depending on design, but successful discovery is only the beginning of the join sequence and does not show WLAN/client forwarding.

Limits and common misconceptions

CAPWAP is not synonymous with “all wireless traffic tunnels to the controller.” Control remains CAPWAP-based in designs where client data is locally switched. Similarly, ping reachability between AP and controller does not show CAPWAP join, certificates/software compatibility or policy assignment. A CAPWAP control failure also does not automatically mean the RF hardware is down. Treat the routed underlay, CAPWAP control state, WLAN policy and client data path as distinct layers and preserve which one each output actually shows.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Ensure the AP management network has IP reachability, DNS/DHCP options or explicit controller information according to the discovery design. Preserve MTU/path characteristics suitable for CAPWAP and any centrally tunneled client traffic. Define controller preference/redundancy and site tags/policy so an AP that joins the “wrong” controller or policy set is detectable. Where local switching is intended, configure the local VLAN mapping independently from CAPWAP control. Keep firewalls/NAT path behavior compatible with the deployment rather than opening broad rules without understanding which control/data channels cross the boundary.

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 docProtocol standard + deployed implementation RFC 5415

Authoritative/upstream documentation reviewed for bounded claims in Wireless → Wireless Architecture → CAPWAP concepts. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc5415.html · confidence 94%
Embedded reference data

Quick lookup tables

CAPWAP concepts · technical reference

Compact wireless mechanics, design and evidence boundaries for fast lookup.

CAPWAP layerReference role
Discovery/joinEstablish AP-controller relationship
ControlConfig, keepalive, RF/client management
DataCentral tunnel when architecture uses it
UnderlayIP path carrying CAPWAP
Confirmation

Confirm action

Continue?