Use it for branch APs that switch traffic locally or must keep working when the WLC is unreachable.
FlexConnect concepts
In FlexConnect mode an AP at a remote site switches client traffic locally onto its VLANs instead of tunnelling it to the WLC, and can keep serving clients if the WLC link fails.
1. FlexConnect APs can switch traffic locally and authenticate locally when the WLC is unreachable.
2. Used at branches.
3. Native VLAN and VLAN mappings on the AP switchport trunk.
4. FlexConnect groups share config.
5. Plan standalone behaviour.
AP ↔ WLC CAPWAP control → local switching at branch
Context & applicabilityCommon mistakes · platform/version boundaries
- VLANs not trunked to the AP switch port for locally switched WLANs.
- Central DHCP for locally switched clients (requires extra config).
- WAN latency beyond FlexConnect limits for centrally authenticated WLANs.
- No FlexConnect group, so keys are not shared during roaming.
Operational reference
Fast context before you go deeper.
show ap name AP1 config general | include FlexConnect|ModeVerification & 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 Checks Verify boundary
show ap name AP1 config general | include FlexConnect|Mode
show wireless client mac <mac> detail | include VLAN|Switching
show ap name AP1 tag detail
Verify local switching VLAN mappings, that the branch trunk carries them and that local authentication/backup RADIUS works during a WAN outage.
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.
- FlexConnect lets an AP switch client traffic locally instead of tunnelling it to the WLC.
- Useful for branches across a WAN from the controller.
- In standalone mode the AP keeps serving clients if the WLC is unreachable.
show ap summary— FlexConnect APsshow ap config general <ap>— FlexConnect group, local switching
ReferenceWhat it is1 section · depth on demand
Local switching and authentication
FlexConnect APs at branches keep working if the WAN to the WLC fails:
- Local switching: client traffic goes to a VLAN at the branch (AP on a trunk port).
- Central switching: traffic tunnelled to the WLC as in local mode.
- Local authentication / backup RADIUS keep 802.1X working during WAN outages.
On Catalyst 9800 this is set in the flex profile and site tag. VLAN mappings must exist on the branch switch trunk.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
FlexConnect: local switching at the AP
Cisco's FlexConnect technote describes FlexConnect as the AP's ability to decide whether a wireless client's traffic is switched locally at the AP or sent to the controller. Local switching places client traffic directly on the network at the AP; central switching sends it to the 9800.
Converting an AP (technote)
Disabling Enable Local Site on a site tag makes it a FlexConnect site tag, where a flex profile can be selected. An AP in local mode that receives such a site tag reboots and comes back in FlexConnect mode.
Flex profile (technote)
| Setting | Purpose |
|---|---|
| Native VLAN ID | The AP's own (untagged) VLAN on its trunk |
| VLAN list | VLANs used by locally switched SSIDs; centrally switched VLANs aren't added |
| VLAN names | Must match the policy profile's VLAN name exactly |
| Policy ACLs | ACLs for locally switched WLANs, added to the flex profile |
WLC(config)# wireless profile flex BRANCH1-FLEX
WLC(config-wireless-flex-profile)# native-vlan-id 50
WLC(config-wireless-flex-profile)# vlan-name WIFI-CORP
WLC(config-wireless-flex-profile-vlan)# vlan-id 210
WLC(config)# wireless tag site BRANCH1
WLC(config-site-tag)# no local-site
WLC(config-site-tag)# flex-profile BRANCH1-FLEX
WLC(config)# wireless profile policy CORP-FLEX-POLICY
WLC(config-wireless-policy)# no central-switching
WLC(config-wireless-policy)# vlan WIFI-CORP
SW# show interfaces GigabitEthernet1/0/21 trunk
Port Mode Encapsulation Status Native vlan
Gi1/0/21 on 802.1q trunking 50
Behaviour to know (technote)
| Topic | Detail |
|---|---|
| DHCP | With local switching, client DHCP goes straight to the wired network; the AP can't proxy DHCP, so the policy profile's DHCP server setting has no effect |
| Switch port | Must allow the client VLANs (the AP trunk carries them) |
| DHCP server elsewhere | Configure an IP helper on the client VLAN's gateway |
| FlexConnect ACLs | Apply in both directions; they must permit traffic to the client's gateway, a common mistake |
| Tag changes | The AP drops and rejoins in about a minute |
When to use FlexConnect
| Situation | Reason |
|---|---|
| Branches over a WAN | Local traffic stays local; the controller can be central |
| WAN latency above 20 ms | Local mode isn't recommended at that latency (9800 best practices) |
| Survivability | Locally switched traffic doesn't depend on the CAPWAP data path to the controller |
Documented example, not captured output.
Quick reference
FlexConnect is an access point mode designed for branch offices whose controller is at a central site. Client traffic can be switched directly onto the local network instead of crossing the WAN, and the AP can keep serving clients if the link to the controller fails. The switch port must therefore carry the client VLANs as a trunk.
FlexConnect: designed for branches with a remote WLC. The AP can switch client traffic locally onto VLANs at the branch (local switching), while control stays on the WLC. If the WLC link fails, the AP keeps serving existing WLANs in standalone mode (with local authentication options).
wireless profile flex BRANCH-FLEX
native-vlan-id 10
vlan-name USERS
vlan-id 20
show ap name <AP> config general | include FlexConnect
Switch port must be a trunk carrying the client VLANs and the native (management) VLAN.
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 Wireless → AP Modes → FlexConnect concepts. 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%