Real-Time Access Points Statistics

Access point real-time statistics

An access point real-time statistic is a tool that

  • allows tracking of CPU utilization and memory usage of an AP,

  • monitors the health of an AP, and

  • generates real-time statistics from an AP.

Starting from Cisco IOS XE 17.5.1, you can monitor both CPU utilization and memory usage to assess the health of an AP through generated real-time statistics.

Feature history for real time access point statistics

Table 1. Feature history

Release

Feature

Feature information

Cisco IOS XE 17.7.1

Real time access point statistics

The system implements this feature with AP threshold values between 0 and 50.

  • SNMP Traps: SNMP traps are notifications sent out when thresholds are crossed for specific statistics like CPU and memory usage in both the APs and the controller.

  • Sampling Period and Statistics Interval: These parameters can be configured using SNMP, YANG, and CLI to manage how frequently statistics are sampled and reported.

Enable access point monitoring (GUI)

Configure and monitor real-time statistics of access points using the GUI for efficient management and performance tracking.

Follow these steps to enable access point monitoring and set alarms.

Procedure


Step 1

Choose Configuration > Tags & Profiles > AP Join.

Step 2

Click Add.

The Add AP Join Profile page is displayed.

Step 3

Click the AP tab.

Step 4

Under the AP tab, click the AP Statistics tab.

Step 5

Click the Monitor Real Time Statistics toggle button to Enabled status.

Step 6

Click the Trigger Alarm for AP toggle button to Enabled status.

Step 7

In the CPU Threshold to Trigger Alarm field, enter the threshold percentage of CPU usage. When the CPU usage crosses this threshold, an alarm is triggered.

Step 8

In the Memory Threshold to Trigger Alarm field, enter the threshold percentage of memory usage. When the memory usage exceeds this threshold, an alarm is triggered.

Step 9

In the Interval to Hold Alarm field, enter the time, in seconds, for which the alarm is held before it gets triggered.

Step 10

In the Trap Retransmission Time field, enter the time, in seconds, between retransmissions of the alarm.

Step 11

In the Sampling Interval field, enter the value, in seconds. The sampling interval defines how often data is collected from the AP.

Step 12

In the Statistics Interval field, enter the value, in seconds. The statistics interval defines the interval for which statistics are to be calculated for the AP.

Step 13

Click Apply to Device to save and activate configuration.


The system is configured to monitor access point statistics and triggers alarms when CPU and memory usage exceed predefined thresholds.

Configure access point real-time statistics (CLI)

Set up and manage real-time statistics for access points to effectively monitor and analyze performance.

Procedure


Step 1

Enter global configuration mode.

Example:

Device# configure terminal

Step 2

Configure the AP profile.

Example:

Device(config)# ap profile ap-profile-name

The default AP join profile name is default-ap-profile.

Step 3

(Optional) Configure the statistics timer.

Example:

Device(config-ap-profile)# stats-timer 60 

This command is used to change the frequency of the statistics reports coming from the AP.

Step 4

Enable monitoring of AP real-time statistics (CPU and memory).

Example:

Device(config-ap-profile)# statistics ap-system-monitoring enable 

Step 5

Enable alarms for AP real-time statistics (CPU and memory).

Example:

Device(config-ap-profile)# statistics ap-system-monitoring alarm-enable 

Step 6

Define the threshold for CPU usage on the AP (percentage) to trigger alarms.

Example:

Device(config-ap-profile)# statistics ap-system-monitoring cpu-threshold 90 

Step 7

Define the threshold for used memory usage on the AP (percentage) to trigger an alarm.

Example:

Device(config-ap-profile)# statistics ap-system-monitoring mem-threshold 90 

Step 8

Exit from AP profile configuration mode and return to global configuration mode.

Example:

Device(config-ap-profile)# exit 

Step 9

Enable or disable sending AP-related traps.

Example:

Device(config)# trapflags ap ap-stats 

Traps are sent when statistics exceed the configured threshold.


The AP monitors real-time statistics for CPU and memory usage. Alarms are triggered if usage crosses set thresholds.

Device(config)# ap profile default-policy-profile
                Device(config-ap-profile)# statistics ap-system-monitoring enable
                Device(config-ap-profile)#statistics ap-system-monitoring sampling-interval 90
                    Device(config-ap-profile)#statistics ap-system-monitoring stats-interval 120
                    Device(config-ap-profile)#statistics ap-system-monitoring alarm-enable
                    Device(config-ap-profile)#statistics ap-system-monitoring alarm-hold-time 3
                    Device(config-ap-profile)#statistics ap-system-monitoring alarm-retransmit-time 10
                Device(config-ap-profile)#statistics ap-system-monitoring cpu-threshold 90
                Device(config-ap-profile)#statistics ap-system-monitoring mem-threshold 90
                Device(config)# trapflags ap ap-stats

Note


The sampling-interval, stats-interval, alarm-enable, alarm-hold-time, and alarm-retransmit , keyword configurations are optional.


Monitor access point real-time statistics (GUI)

This task enables network administrators to monitor access point performance and diagnose potential issues by viewing real-time statistics.

Procedure


Step 1

Choose Monitoring > Wireless > AP Statistics.

Step 2

Click the General tab.

Step 3

Click an AP name. The General window is displayed.

Step 4

To view the AP Statistics data, click the AP Statistics tab.

These types of information are displayed:

  • Memory alarm last send time: Displays the time of the last memory trap sent.

  • Memory Alarm Status: Displays the state of the memory alarm. An alarm can be ACTIVE, INACTIVE, INACTIVE_SOAKING, ACTIVE_SOAKING. An alarm is soaked until the configured hold time has passed.

  • Memory alarm raise time: Displays the last time the memory alarm was active.

  • Memory alarm clear time: Displays the last time the memory alarm was inactive.

  • Last statistics received: Displays the time of the last statistics report received from the AP.

  • Current CPU Usage: Displays the latest percentage of CPU usage reported.

  • Average CPU Usage: Displays the average CPU usage calculated.

  • Current Memory Usage: Displays the latest percentage of memory usage reported.

  • Average Memory Usage: Displays the average memory usage calculated.

  • Current window size: Displays the window size. The window size is calculated by dividing the statistics interval by the sampling interval. The average CPU and memory usage is calculated by the window size.

  • CPU alarm last send time: Displays the time of the last CPU trap sent.

  • CPU Alarm Status: Displays the state of the CPU alarm. An alarm can be ACTIVE, INACTIVE, INACTIVE_SOAKING, ACTIVE_SOAKING. An alarm is soaked until the configured hold time has passed.

  • CPU alarm raise time: Displays the last time the CPU alarm was active.

  • CPU alarm clear time: Displays the last time the CPU alarm was inactive.

Step 5

Click OK.


The current statistics for the selected access point are displayed, allowing for comprehensive monitoring and analysis of AP performance metrics.

Verify access point real-time statistics

To verify AP real-time statistics, run this command:

Device# show ap config general | section AP statistics
!Last Statistics 
AP statistics : Enabled
Current CPU usage : 4
Average CPU usage : 49
Current memory usage : 35
Average memory usage : 35
Last statistics received : 03/09/2021 15:25:08
!Statistics Configuration
Current window size : 1
Sampling interval : 30
Statistics interval : 300
AP statistics alarms : Enabled
!Alarm State - Active, Inactive, Inactive_Soaking, Inactive_Soaking
Memory alarm status : Active
Memory alarm raise time : 03/09/2021 15:24:29
Memory alarm clear time : NA
Memory alarm last send time : 03/09/2021 15:24:59
CPU alarm status : Inactive
CPU alarm raise time : 03/09/2021 15:24:25
CPU alarm clear time : 03/09/2021 15:25:05
CPU alarm last send time : 03/09/2021 15:25:05
!Alarm Configuration
Alarm hold time : 6
Alarm retransmission time : 30
Alarm threshold cpu : 30
Alarm threshold memory : 32

To verify that the statistics reporting period is accurate, run this command:

Device# show ap config general | i Stats Reporting Period
Stats Reporting Period : 10