Professional Documents
Culture Documents
Monitoring on AireOS
controllers and APs
How
1. Find this session in the Cisco Live Mobile App
2. Click “Join the Discussion”
3. Install Spark or go directly to the space
4. Enter messages/questions in the space
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Agenda
• Chinese Medicine - Prevention
• KPI - Health
• Translating KPI to AireOS
• IOS KPI
• AP-COS KPI
• Q&A
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Chinese
Medicine
Chinese Medicine – Prevention
Performance Monitoring as Preventive Medicine
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Key Performance Indicators
Looking for Symptoms
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Doctor am I sick?
Looking for trouble before it happens
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
What are Good Health Indicators?
Where to look
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
What are Good Health Indicators?
Where to look
Negative Events
Radio Resets (not all!)
Crashes
Drops
Hangs
Not servicing clients
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
How can I obtain this?
Getting the data
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Translating
KPIs to AireOS
WLC Architecture
What we need to Look At
Control Plane
PCIe Switch
I/O Subsystem
Service
Port
0 1 6 7
AP Client
Network
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
WLC Architecture
What we need to Look At
Data Plane
PCIe Switch
I/O Subsystem
Service
Port
0 1 6 7
AP Client
Network
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
WLC Architecture
What we need to Look At
PCIe Switch
I/O Subsystem
Service
Port
0 1 6 7
AP Client
Network
AP
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
WLC Architecture
What we need to Look At
PCIe Switch
I/O Subsystem
Service
Port
0 1 6 7
AP Client
Network
RF
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
AireOS KPIs SPAM
It is a complex world DTLS
(CAPWAPP)
APF
(802.11)
RRM
PEM
Driver
AAA
Subsystems
Data Plane
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
AireOS Basic Health
Does it have Fever?
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
AireOS KPIs
Let’s measure – Control Plane
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
AireOS KPIs
Let’s measure - Data Plane
State monitoring
DP-CP Drops
Fragmentation
Packet Pools
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
One CPU to bind them…
AireOS KPIs
CPU Monitoring
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
AireOS KPIs
Task-CPU Utilization
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Queues In London
AireOS KPIs
Queue Utilization
* Column Breached shows the number of times the queue breached the 95% mark
--------------------------------------------------------------------------------------------
1 PRINTF-Q 256 80 0 0 0 N
3 dtlqueue 4096 2 0 3 0 N
4 dtlarpqueue 4096 24 0 8 0 Y
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
AireOS KPIs
Queue Utilization
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
AireOS KPIs
Queue Utilization
(WiSM-slot1-1) >show queue-info
--------------------------------------------------------------------------------------------
1 PRINTF-Q 256 80 0 0 0 N
3 dtlqueue 4096 2 0 3 0 N
4 dtlarpqueue 4096 16 0 75 0 Y
..
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
AireOS KPIs
Queue Utilization
86 RRM-DCLNT-5_0-Q 375 0 4 0 N
87 RRM-MGR-5_0-Q 375 0 20 0 N
88 RRM-PERIODIC-TASK-Q 93 0 1 0 N
89 SNTP-Q 3 2 3 20010 N
90 CDP-Q 512 0 13 0 N
91 BCAST-Q 2048 0 2 0 Y
92 BCAST-DATA-Q 512 0 2 0 Y
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
AireOS KPIs
Queue Decoder Ring
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
A queue like no
other
AireOS KPIs
Radius Queues
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
AireOS KPIs
Radius Queues
Radius Queue
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
AireOS KPIs
DHCP
(CH-8510W-DC-1) show>dhcp stats
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
I remember you..
AireOS KPIs
Memory Monitoring
Memory Utilization
Increases with load, remains steady on same load
level
Most tasks use OSAPI Buffer based: time, owner,
trailers
MBUFs
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
AireOS KPIs
Memory Monitoring
Memory Memory
1000 650
800 600
600
550
400
200 500
0 450
Memory Memory
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
AireOS KPIs
Memory the easy way
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
AireOS KPIs
Memory the easy way
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
AireOS KPIs
Memory the easy way
MBUF Utilization
------------------------- MBUF Information ------------------------------
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
AireOS KPIs
Memory the easy way
Buffers in use and Top users
------------------------- Pmalloc Pools Information --------------------
..
Index Name PID 16-byte 64-byte 128-byte 256-byte 384-byte 512-byte 1024-byte 2048-byte 4096-byte Raw-Pool Total-Pools
001 fp_main_task 2182 3011 4289 155 280 55 9 124058 60 24586 1767 158270
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
A little bit of
everything…
AireOS KPIs
Happy Uptime
Number of APs.................................... 2
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
AireOS KPIs
Coredump Available
SW Version....................................... 8.2.102.89
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
AireOS KPIs
Time(rs) are gold
Allocated.................................... 2538
Free......................................... 147462
Alloc Failures................................... 0
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
AireOS KPIs
5520/8540 Chassis Monitoring
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
AireOS KPIs
My Dear Clients
(Cisco Controller) >show client state summary
====================
----- -----------------
START 8
8021X_REQD 25
DHCP_REQD 54
WEBAUTH_REQD 260
RUN 146
----- -----------------
Total 493
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
AireOS KPIs
My Dear Clients
(Controller_2) >show pmk-cache all
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
AireOS KPIs
ARPs
(5520-2) >show arp stats
ARP statistics:
Max=client+1000
Current Entries 236
Bad Additions 0
Bad Deletions 0
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
AireOS KPIs
LAG
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
The Data
Plane: happy
frames
Data Plane
Happy to forward your frames
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Data Plane
Happy to forward your frames
Main command:
(5500-2) >debug fastpath dump fpapool
FP0.01:
..
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Data Plane
Happiness gone
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
Data Plane – Control Plane
Let’s Talk
(5520-2) >debug fastpath dump dpcp-stats
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
IOS APs
IOS APs
Simpler
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
IOS APs
Radio Interfaces
Show controller d0 | d1
Lot of data, not all human readable
Not intended for “general use”, but treasure of
information
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
IOS APs
Show Controller - Monster
interface Dot11Radio0Radio AL 2.4GHz, Base Address b0aa.7733.bf10, BBlock version 0.00, Software version
4.18.2Serial number: FOC19066XZD Unused dynamic SQRAM memory: 0x0000C858 (50 KB)Unused dynamic SDRAM memory:
0x00082674 (521 KB)Spectrum FW version: 1.15.4Number of supported simultaneous BSSID on Dot11Radio0: 16Carrier Set:
Spain (ES) (-E)Uniform Spreading Required: NoConfigured Frequency: 2412 MHz Channel 1Serving Frequency: 2412 MHz
Channel 1 20MHzAllowed Frequencies: 2412( 1) 2417( 2) 2422( 3) 2427( 4) 2432( 5) 2437( 6) 2442( 7)
2447( 8) 2452( 9) 2457( 10) 2462( 11) 2467( 12) 2472( 13) Listen Frequencies: 2412( 1) 2417( 2)
2422( 3) 2427( 4) 2432( 5) 2437( 6) 2442( 7) 2447( 8) 2452( 9) 2457( 10) 2462( 11) 2467( 12)
2472( 13) 2484( 14) Beacon Flags: 0, Interface Flags 2020105, Interface Events 20, Mode 9; Beacons are enabled;
Probes are enabledConfigured TxPower: 16 dBm (Level Index 1)Allowed Power Levels:
16 13 10 7 4 1 dBmAllowed Client Power Levels: 16 13 10 7 4 1 dBmAntenna:
Rx[right-a left-b middle-c ]
Tx[right-a left-b middle-c cck all ofdm all]
Internal Gain [Allowed 8, In
Use 8] (dBi x 2), In Use 8] (dBi x 2), In Use 8] (dBi x 2), In Use 8] (dBi x 2), Reported 0, Configured 0, In
Use 8] (dBi x 2)Active Rates: 9.0 basic-12.0 18.0 24.0 36.0 48.0 54.0 m0-2 m1-2 m2-2 m3-2 m4-2 m5-2 m6-2 m7-2 m8-
2 m9-2 m10-2 m11-2 m12-2 m13-2 m14-2 m15-2Current Rates: 9.0 basic-12.0 18.0 24.0 36.0 48.0 54.0 m0-2 m1-2 m2-2
m3-2 m4-2 m5-2 m6-2 m7-2 m8-2 m9-2 m10-2 m11-2 m12-2 m13-2 m14-2 m15-2Allowed Rates: 1.0 2.0 5.5 6.0 9.0 11.0 12.0
18.0 24.0 36.0 48.0 54.0All Rates: 1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0-2 m1-2 m2-2 m3-2 m4-2
m5-2 m6-2 m7-2 m8-2 m9-2 m10-2 m11-2 m12-2 m13-2 m14-2 m15-2Default Rates: basic-1.0 basic-2.0 basic-5.5 basic-
11.0 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0-2 m1-2 m2-2 m3-2 m4-2 m5-2 m6-2 m7-2 m8-2 m9-2 m10-2 m11-2 m12-2 m13-
2 m14-2 m15-2Best Range Rates: basic-1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0-2 m1-2 m2-2 m3-2
m4-2 m5-2 m6-2 m7-2 m8-2 m9-2 m10-2 m11-2 m12-2 m13-2 m14-2 m15-2Best Throughput Rates: basic-1.0 basic-2.0 basic-
5.5 basic-11.0 basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0-2 m1-2 m2-2
m3-2 m4-2 m5-2 m6-2 m7-2 m8-2 m9-2 m10-2 m11-2 m12-2 m13-2 m14-2 m15-2Current Voice Rates: basic-5.5 basic-11.0
6.0 12.0 24.0 [disabled until voice packet-discard enabled]Default Voice Rates: basic-5.5 basic-11.0 6.0 12.0
24.0Managment Rates: 9.0 basic-12.0Multicast Rates: basic-12.0 Multicast Active rate: 12.0RTS Rates: basic-
12.0RTS Active rate 12.0RTS Max rate 12.0 Local Packet Rate Probing is disabled : Packet Size 20Data Rate
Sensitivity (rate, SNR dB, Contention dBm)( 1.0, 10, -93) ( 2.0, 10, -92) ( 5.5, 11, -90) (11.0, 14, -90) (
6.0, 15, -89) ( 9.0, 16, -88) (12.0, 18, -88) (18.0, 19, -86) (24.0, 20, -85) (36.0, 24, -81) (48.0,
27, -78) (54.0, 31, -77) ERP settings: short slot time.Neighbors in non-erp mode:
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
IOS APs
Taming the monster
Interface status
Beacon Flags: 0, Interface Flags 20105, Interface Events
0, Mode 9; Beacons are enabled; Probes are enabled
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
IOS APs
Taming the monster
TX blocks - Pending
Transmit queues: Limit 13919 Current 4 In-Progress 0
---- Active ------ In-Progress -----------
Cnt Quo Bas Max Cl Cnt Quo Bas Uplink
0 64 0 0 0 0 5 0 Voice
0 512 0 0 0 0 60 0 Video
0 1024 0 0 0 0 200 0 Best
4 1024 0 0 0 0 200 0 MC0
0 0 0 0 0 0 7 0
• Beacon Stop
Beacon stopped count: 0
Counts > 120 0
Counts > 90 0
Counts > 60 0
Counts > 30 2
Counts > 15 0
Counts > 10 0
Counts > 5 1
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
IOS APs
Taming the monster
• Silent radio hang
• No traffic received/sent when clients are around
Host Rx K Bytes: 2243173 / 0 Host Tx K Bytes: 3382831 / 0
Unicasts Rx: 368819860 / 0 Unicasts Tx: 457956326 / 0
Unicasts to host: 368819860 / 0 Unicasts by host: 415499647 / 0
Broadcasts Rx: 348114707 / 0 Broadcasts Tx: 354596429 / 439
Beacons Rx: 342650083 / 0 Beacons Tx: 353388822 / 439
PCI Resets
Radio PCI resets:0
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
AP-COS
1800/2800/3800/
1560
Wave2
AP-COS
Different architecture (simplified view)
Light
ssh
httpd capwapd WCP watchdog
CLI
Capwap hostapd LED
brain Platform
Device Management Config/system mng Wireless Control Management
Linux Cisco
Networking /clickfile Linux
stack Services system
Kernel
Click DataPath
Ethernet Radio Flash
Driver Driver Driver
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
AP-COS
Different organism, somewhat different health metrics
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
AP-COS
Memory - CPU
Memory
***** show memory summary *****
CPU
***** show processes cpu *****
Mem: 379456K used, 643216K free, 107792K shrd, 0K buff, 107916K cached
CPU: 0% usr 4% sys 0% nic 95% idle 0% io 0% irq 0% sirq
Load average: 0.08 0.10 0.13 2/111 22143
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
4710 2 root SWN 0 0% 1 4% [kclick]
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
AP-COS
Temperature
sh thermal-control-summary
This CLI produces large dump, do you want to proceed?(y/n)y
AP thermal condition
--------------------
fair
Temperature readings
--------------------
A38x CPU temp = 57 C
I2C-0-4f temp = 35 C
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
AP-COS
Radio Crashes
Radio Core files
***** show flash cores *****
Directory of /storage/cores/
total 1524
-rw-r--r-- 1 root root 1430212 Feb 22 17:06 AP1801-3802e-up-dd_core-
radio0FW-8.2.145.44.2017-02-22-17-06-27.tgz
-rw-r--r-- 1 root root 123448 Feb 20 10:58 AP1801-
3802e.all.10.0.cleanair.tgz
---------------------------------------------------------------------------
Filesystem Size Used Available Use% Mounted on
flash 57.5M 1.7M 52.8M 3% /storage
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
AP-COS
5 last set of logs
AP syslog data
***** show flash syslogs *****
Directory of /storage/syslogs/
total 296
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
AP-COS
Client Information
Different components
barbados-beta-floor1#sh dot11 clients 0
AP Mode - FlexConnect
Client MAC Slot ID WLAN ID AID WLAN Name RSSI Maxrate WGB
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
AP-COS
Client Information – 8.3MR2
AP58AC.78DC.AAA0#sh client summary
============================== =====================
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
AP-COS
Radio Status
Available in show tech
Associated client list:
====================
0 0 0 0 0 0
1 0 0 0 0 0
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
AP-COS
Radio Status
Statistics
Tx Watchdog stats:
Tx SW Watchdog 0 / 0
Tx HW Watchdog 0 / 0
0 0 0 0
intf TxData TxUC TxMBC TxBytes TxMBBytes TxFail TxDcrd RxData RxUC RxMBC RxBytes RxErr UCTxRt
MCTxRt stats_ago
apr0v2 0 0 0 0 0 0 0 0 0 0 0 0 0
0 1.700000
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
AP-COS
Who is around
RRM Neighbors
3802I_sw2_shield_gig15_C53#show rrm neighbor-list
========================================================
===================================
===================================
00:D7:8F:52:4F:6F -26 52
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
AP-COS
Radio Reset History
=================================================================================
AP58AC.78DC.AE00#show history interface dot11Radio all reset
=================================================================================
Timestamp Slot Client count Reset reason
Fri Jan 27 02:51:10 2017 0 0 84(radio failure (beacons stuck))
Fri Jan 27 02:51:18 2017 0 0 84(radio failure (beacons stuck))
Fri Jan 27 02:51:27 2017 0 0 2(Radio firmware crashed)
Fri Jan 27 02:52:32 2017 1 0 84(radio failure (beacons stuck))
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
AP-COS
Network Sub System
3802I_sw2_shield_gig15_C53#show controllers nss stats
NSS Statistics
ID : 0 TYPE : 0
RX ERR : 0 TX ERR : 0
ID : 1 TYPE : 0
RX PKTS : 0 TX PKTS : 0
RX OCTETS : 0 TX OCTETS : 0
RX ERR : 0 TX ERR : 0
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
AP-COS
WLAN stats
AP00FE.C82D.EF30#sh interfaces dot11Radio 0 wlan 6 Packets Errored = 0
statistics
Rx errors = 0
VAP Level Stats: apr0v5 (under radio wifi0)
Rx Dropped = 0
Tx Data Packets = 120
Tx failures = 0
Tx Data Bytes = 54501
Tx Dropped = 0
Tx Data Payload Bytes = 49941
Host Discard = 0
Rx Data Packets = 166
Rx MIC Errors = 0
Rx Data Bytes = 27204
Last Tx rate for unicast Packets = 11000
Rx Data Payload Bytes = 24880
Last Tx rate for unicast Packets(mcs) = 22
Tx Unicast Data Packets = 120
Last Tx rate for multicast Packets = 48000
Rx Unicast Data Packets = 166
Last Tx rate for multicast Packets(mcs) = 96
Tx Multi/Broadcast Data Packets = 0
Total beacons sent to fw in SWBA intr = 3066
Rx Multi/Broadcast Data Packets = 0
Packets Dropped = 0
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
Key things to remember
Key “Take Aways”
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Complete Your Online
Session Evaluation
• Give us your feedback to be
entered into a Daily Survey
Drawing. A daily winner will
receive a $750 gift card.
• Complete your session surveys
through the Cisco Live mobile
app or on www.CiscoLive.com/us.
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Continue Your Education
• Demos in the Cisco campus
• Walk-in Self-Paced Labs
• Lunch & Learn
• Meet the Engineer 1:1 meetings
• Related sessions
BRKEWN-3012 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Thank you