The AP Shows the Client Online, but the Switch Has No MAC Entry
This mismatch comes up on a support shift: the controller says a phone is associated and authenticated, and the gateway has an IP for it. You check the access switch for that MAC and get nothing. Before rebooting the AP or blaming address randomization, ask how client traffic leaves the AP. The forwarding path determines which switch can learn the client's MAC.
Make sure you have the address the phone is using now
A phone may use a private Wi-Fi address for this SSID. The address on an asset sticker, its Bluetooth address, or the one it used on another WLAN is not a substitute for the current association record. Copy the current address from the controller, AP client list, or the phone's network details.
Check the VLAN and port scope too. The same address may remain in another VLAN's history, and switch entries age out. A client that has just associated but has not sent ordinary data may not have a dynamic entry yet. Generate a little traffic, then query the table:
show mac address-table address aabb.ccdd.eeff
Adjust the syntax for the switch vendor. The switch MAC table guide explains learning and ageing.
The key question: where does this SSID bridge?
Wireless deployments commonly use one of two forwarding patterns, though vendors give them different names.
Local forwarding at the AP. Client data is bridged onto a wired VLAN near the AP. If that VLAN reaches the AP's switch port and the client sends a data frame, the access switch will normally learn the client MAC from the frame's source address. If it does not, check the AP uplink VLAN, port mode, VLAN assigned after authentication, and switch learning events.
Tunneled forwarding to a controller. The AP encapsulates client data and sends it to the controller, which connects the traffic to the wired network. The AP edge switch mainly sees the outer tunnel traffic between AP and controller; the client's original frame is inside it. No client MAC on that AP access switch may be the expected design. The address is more likely to appear on the switch port connected to the controller's local forwarding or decapsulation point.
Mixed designs are normal: an employee SSID may be tunneled while a guest or voice SSID is locally bridged. Do not infer the mode from the SSID name. Check the actual policy and the forwarding configuration for that client, AP, controller, and VLAN. Vendor references can help confirm the distinction; for example, the Aruba campus design guide describes AP switch-port requirements for different SSID forwarding modes.
Follow the data path instead of guessing from one switch
I trace it in this order:
- Confirm the client's current MAC, serving AP, SSID, and client VLAN on the controller. After a roam, make sure the displayed AP has caught up.
- Check whether this SSID bridges locally or forwards through a tunnel. Find where the data actually enters the wired network.
- For local forwarding, inspect the AP uplink switch port and client VLAN. For centralized forwarding, continue to the controller data port, the VLAN after decapsulation, and its connected switch.
- Query the dynamic MAC table on that switch and compare the VLAN, port, and last-learned time.
If a capture on the AP uplink shows CAPWAP data packets, that proves tunnel traffic crosses the link; it does not prove that the client's Ethernet frame was decapsulated there. In common IPv4 deployments, CAPWAP data uses UDP 5247 and control traffic uses UDP 5246. The IPv6 data channel can also use UDP-Lite, so the absence of these UDP packets alone does not prove that there is no tunnel. This filter is a useful first check for the common UDP case:
sudo tcpdump -ni eth0 'udp port 5246 or udp port 5247'
Replace the interface and capture point for your site. With tunnel encryption enabled, a capture may show the outer endpoints without exposing the client frame. The transport ports and IPv6 data-channel options are specified in RFC 5415. For the addresses inside an over-the-air frame, see MAC addresses in a Wi-Fi capture.
Only after forwarding mode, VLAN, and switch port all check out would I move on to port security, MAC learning limits, loop protection, or whether the client has sent any traffic at all. That order avoids disturbing an AP or switch port just because the table was checked at the wrong point in the path.