Wednesday 5 April 2023

PART1 - C9800- TroubleShooting Commands- AP Join/Connectivity Issues

AP Join/Connectivity Issues


This scenario covers AP instability due to APs not been able to join WLC, AP disconnections, CAPWAP  tunnel flaps, AP crashes.

Outputs to check key performance indicators KPIs to identify if there could be AP issues:

Check for AP crashes, and for APs with an uptime lower than expected, check for APs that have association uptime lower than expected

show ap uptime !! Check Up Time vs Assoc Up Time. Check for patterns

show ap cdp nei !! Identify if all APs with similar Up Time were in same switch.

show ap crash !! Check if there are any AP crashes.

dir all | i crash !! Find AP crashes stored in WLC.



show ap summary | i Number of APs !!Check if number of APs matches with number we expect

sh log | i AP Event: !!Check if APs are disconnecting at same time, or exist any pattern for APs connecting/disconnecting.


show wireless stats ap history !! Find connect/disconnect events, time for those events, disconnect reason and count.

show wireless stats ap discovery !! Find discovery requests been received by WLC and time for those discovery requests

show wireless stats ap join summary !! Find status of the AP, last disconnection reason and in which phase disconnection occurred.


show wireless certification config !! Check DTLS version and cipher suite

show wireless management trustpoint !! Type of certificate used

show wireless dtls connections !! Show if DTLS is established for capwap control/data ports used


show wireless stats ap history mac-address Ethernet_MAC@ !!Check type of event and time for the event and disconnect reason and count for specific AP.

show wireless stats ap mac Radio_MAC@ discovery detailed !!Check number of discovery request/responses, discovery failures and type for last working discovery and non working discovery.

show wireless stats ap mac Radio_MAC@ join detailed !!Counters for different phases discovery, dtls, join, config, data dtls. Also shows last reboot type and reason. Disconnect type and reason.

show logging profile wireless start last X days filter mac <radio-or-ethernet-AP-mac> !!Always-on-tracing for this AP shows more detailed events errors stored in the WLC trace database. Config changes, radio events, association/disassociation events.

show tech wireless ap name <ap-name> !! Config details, tag, radio info channels/txpower, SSIDs, ...


show wireless loadbalance ap affinity mac Ethernet_MAC@ !!Check wncd assigned to concrete AP mac address, we can also get wncd for concrete site-tag

show wireless loadbalance ap affinity wncd <0-7> !!Other option is to check all APs assigned to a concrete wncd.

sh proc cpu platform | i wncd !! Check CPU utilization per wncd


No comments:

Post a Comment