+ All Categories
Home > Documents > TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and...

TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and...

Date post: 06-Nov-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
70
Transcript
Page 1: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by
Page 2: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

TECH-WLAN Návrh a ladění bezdrátových sítí

Řešení problémů v bezdrátových sítích (troubleshooting) TECH-WLAN P6 / L3

Jaroslav Čížek – Cisco

Page 3: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Agenda

Jak řešit problémy bezdrátové sítě

Jak pracovat s TACem, eskalace problemů

Nástroje pro řešení problémů

Ukázky nejčastějších problémů – jak debugovat, na co si dát pozor, co hledat v logu

Vše na příkladech AireOS WLC i konvergovaném IOS XE

TECH-WLAN P6 / L3

3

Page 4: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Where do we start? Client can’t connect….

4

IP

DHCP

WLC IP

ISE

CAPWAP E

OIP

802.11

CAPWAP

RADIUS

Chan. 1

802.11 Management

802.11 Management

EAP

IP

su

pp

.

driv

er

rad

io

A wireless connection is like a complex multivariable equation. So how do we solve the equation?

• Isolate and remove the variables

Page 5: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Troubleshooting Basics

Troubleshooting 101

– Clearly define the problem

– Understand any possible triggers

– Know the expected behavior

– Reproducibility

– Do not jump into conclusions

5

Problem

Definition

Questions

Tests

Solution(s)

Analysis

Page 6: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco TAC – Opening TAC and Escalation

6

Page 7: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Cisco TAC - Opening a TAC Service Request

7

What to expect from TAC

– Configuration assistance

– Problem analysis / bug isolation

– Workarounds or fixes

– Action plan to resolve SR

– Hardware replacement

– Engage BU when appropriate

What not to expect from TAC

‒ Design and deployment

‒ Complete configuration

‒ Sales related information

‒ RF Tuning

What should I have ready?

– Clear problem description

– Always: AireOS - show run-config, IOS XE - show tech-support wireless

– If client involved, always: debug client <mac address>

– Your analysis of any data provided

– Set clear expectation of timeline and severity

Page 8: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Cisco TAC – Escalation

8

Customer Escalation Process

– Raise SR priority (S1/S2)

– Engage account team

– Your satisfaction is important to the Cisco TAC. If you have concerns about the progress of your case, please contact your regional TAC.

TAC Escalation Process

– Multi-Tier support resources within a technology

– TAC to engage resources (TAC/BU) when appropriate

– SR ownership might not change hands

Escalation builds

– Used through TAC to deliver urgent fixes before next CCO

– Supported by TAC

– “Copy” of CCO plus pointed fixes

Page 9: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Troubleshooting Tools

Page 10: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Troubleshooting Tools

10

WLC + AP logs – “sh logging”, “debug xxx”, “debug client xxx”

Wireless Sniffer

– Example: Linksys USB600N with Omnipeek TAC can publish Omnipeek-RA if you have compatible HW

– Windows 7 with Netmon 3.4 https://supportforums.cisco.com/docs/DOC-16398

– Mac OS X 10.6+ https://supportforums.cisco.com/docs/DOC-19212

AP Packet Capture, AP in Sniffer Mode

WLC Configuration Analyzer (WLCCA)

Wired Packet Capture

Prime and Mobility Services Engine for client location & history

Spectrum Analyzer

– Spectrum Expert with Card or Clean-Air AP

Page 11: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Microsoft Network Monitor 3

11

Page 12: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

AP Packet Capture

7.3 and higher, It works during normal operation

AP redirect of traffic sent/received by specific clients

Limited use for encrypted WLAN (as of 7.6)

Capture is done at AP radio driver level, not over the air

Feature requires use of a standard FTP server running on a network server, workstation, or laptop i.e. IIS, Filezilla, WS FTP, 3CD, etc.

Multiple simultaneous file upload connections will be initiated to the FTP server

— One for the AP designated in the start command

— One for each AP that is an RF neighbor of the AP designated in the start command – on the same controller only

12

Page 13: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

AP Packet Capture

Configuration: > config ap packet-dump classifier data enable

> config ap packet-dump classifier control enable

> config ap packet-dump ftp serverip 192.168.0.45 path /Public/temp username XX password YY

>config ap packet-dump start 68:7f:74:75:f1:cd cap2600i-sw1-033

Client Mac Address............................... 68:7f:74:75:f1:cd

FTP Server IP.................................... 192.168.0.45

FTP Server Path.................................. /Public/temp

FTP Server Username.............................. XX

Buffer Size for Capture.......................... 2048 KB

Packet Capture Time.............................. 10 Minutes

Packet Truncate Length........................... Unspecified

Packet Capture Classifier........................ 802.11 Data

Packet Capture Classifier........................ 802.11 Control

..

>config ap packet-dump stop

13

Page 14: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

AP Packet Capture

Result is wireshark capture type at FTP server

14

Page 15: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

AP Sniffer Mode

Non-Servicing radios

AP directs all traffic to receiving station

Omnipeek can process the encapsulated traffic for analysis, use Cisco Remote Adapter

Wireshark may display incorrect content, even if using PEEK protocol decoder

15

Page 16: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Wireshark Tips

16

Newer versions of Wireshark have a feature for “Apply as Column”

This will take any decodable parameter and make a column

Page 17: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Wireshark Tips

17

Within seconds your wireshark can also have:

Page 18: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Wireshark Tips

18

Wireshark can also de-encapsulate CAPWAP DATA

Edit > Preference > Protocols > CAPWAP

Page 19: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Wireshark Tips

19

With CAPWAP de-encapsulated you can see all the packets to/from client (between AP and WLC)

Page 20: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

WLC Config Analyzer (WLCCA)

20

Main objective: Save time while analyzing configuration files from WLCs

Audit Checks

Support Forums DOC-1373

Page 21: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

WLC Config Analyzer (WLCCA)

21

Support Forums DOC-1373

Secondary objective:

Carry out RF analysis

Page 22: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Spectrum Expert

22

SE-Connect or Local Mode

Obtain Spectrum Key

Connect to Remote Sensor

Page 23: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Spectrum Expert with Clean Air

23

Page 24: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Wireless Authentication

Page 25: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Steps to Building an 802.11 Connection

25

1. Listen for Beacons

2. Probe Request

3. Probe Response

4. Authentication Request

5. Authentication Response

6. Association Request

7. Association Response

8. (Optional: EAPOL Authentication)

9. (Optional: Encrypt Data)

10. Move User Data

State 1:

Unauthenticated,

Unassociated

State 2:

Authenticated,

Unassociated

State 3:

Authenticated,

Associated

802.11

AP

WLC

Page 26: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Understanding the Client State

26

Name Description

8021X_REQD 802.1x (L2) Authentication Pending

DHCP_REQD IP Learning State

WEBAUTH_REQD Web (L3) Authentication Pending

RUN Client Traffic Forwarding

(Cisco Controller) >show client detail 00:16:ea:b2:04:36

Client MAC Address............................... 00:16:ea:b2:04:36

…..

Policy Manager State............................. WEBAUTH_REQD

00:16:ea:b2:04:36 10.10.1.103 DHCP_REQD (7) Change state to RUN (20) last state RUN (20)

Page 27: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

dhcp packet enabled

dot11 mobile enabled

dot11 state enabled

dot1x events enabled

dot1x states enabled

pem events enabled

pem state enabled

CCKM client debug enabled

The Client Debug

27

A multi-debug macro that goes over all main client states – (Cisco Controller) >debug client 00:16:EA:B2:04:36

– (Cisco Controller) >show debug

– MAC address ................................ 00:16:ea:b2:04:36

Up to 3 addresses in 7.2

Up to 10 addresses in 7.3 and higher dot11 mobile enabled

dot11 state enabled

dot1x events enabled

dot1x states enabled

pem events enabled

pem state enabled

CCKM client debug enabled

Page 28: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Client States- Walkthrough

28

Association (Start)

L2 Authentication (8021X_REQD)

Client Address Learning (DHCP_REQD)

L3 Authentication (WEBAUTH_REQD)

Client Fully Connected (RUN)

Deauth/Disassoc

Page 29: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

*apfMsConnTask_4: Dec 16 11:30:42.058: 00:1c:58:8e:a5:84 Association received from mobile on BSSID 00:3a:9a:a8:ac:d2..

Applying Local Bridging Interface Policy for station 00:1c:58:8e:a5:84 - vlan 50, interface id 14, interface 'vlan50'

processSsidIE statusCode is 0 and status is 0

processSsidIE ssid_done_flag is 0 finish_flag is 0

STA - rates (8): 130 132 139 12 18 150 24 36 0 0 0 0 0 0 0 0

suppRates statusCode is 0 and gotSuppRatesElement is 1

STA - rates (12): 130 132 139 12 18 150 24 36 48 72 96 108 0 0 0 0

extSuppRates statusCode is 0 and gotExtSuppRatesElement is 0.0.0.0 START (0) Change state to AUTHCHECK (2) last

state START (0)

0.0.0.0 AUTHCHECK (2) Change state to 8021X_REQD (3) last state AUTHCHECK (2)

*apfMsConnTask_4: Dec 16 11:30:42.060: 00:1c:58:8e:a5:84 apfPemAddUser2 (apf_policy.c:333) Changing state for mobile

00:1c:58:8e:a5:84 on AP 00:3a:9a:a8:ac:d0 from Idle to Associate

*apfMsConnTask_4: Dec 16 11:30:42.060: 00:1c:58:8e:a5:84 Sending Assoc Response to station on BSSID

00:3a:9a:a8:ac:d2 (status 0) ApVapId 3 Slot 0

*apfMsConnTask_4: Dec 16 11:30:42.060: 00:1c:58:8e:a5:84 apfProcessAssocReq (apf_80211.c:7975) Changing state for

mobile 00:1c:58:8e:a5:84 on AP 00:3a:9a:a8:ac:d0 from Associated to Associated

Association

29

Page 30: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

*apfMsConnTask_1: Dec 16 14:42:18.472: 00:1e:be:25:d6:ec Reassociation received from mobile on BSSID f8:4f:57:a1:d8:a2

..

*apfMsConnTask_1: Dec 16 14:42:18.473: 00:1e:be:25:d6:ec Applying Local Bridging Interface Policy for station

00:1e:be:25:d6:ec - vlan 50, interface id 14, interface 'vlan50'

processSsidIE statusCode is 0 and status is 0

processSsidIE ssid_done_flag is 0 finish_flag is 0

STA - rates (8): 130 132 139 12 18 150 24 36 48 72 96 108 0 0 0 0

suppRates statusCode is 0 and gotSuppRatesElement is 1

STA - rates (12): 130 132 139 12 18 150 24 36 48 72 96 108 0 0 0 0

extSuppRates statusCode is 0 and gotExtSuppRatesElement is 1

*apfMsConnTask_1: Dec 16 14:42:18.473: 00:1e:be:25:d6:ec 192.168.50.100 RUN (20) Deleted mobile LWAPP rule on AP

[04:da:d2:28:94:c0]

*apfMsConnTask_1: Dec 16 14:42:18.473: 00:1e:be:25:d6:ec Updated location for station old AP 04:da:d2:28:94:c0-0, new

AP f8:4f:57:a1:d8:a0-0

Association - Roaming

30

Page 31: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

*apfMsConnTask_0: Dec 16 15:29:40.487: 00:40:96:b5:db:d7 Ignoring assoc request due to mobile in exclusion list or

marked for deletion

00:40:96:b5:db:d7 *apfMsConnTask_0: Dec 16 15:29:41.494: 00:40:96:b5:db:d7 Ignoring assoc request due to mobile in

exclusion list or marked for deletion

*apfMsConnTask_0: Dec 16 15:29:42.499: 00:40:96:b5:db:d7 Ignoring assoc request due to mobile in exclusion list or

marked for deletion

*apfMsConnTask_0: Dec 16 15:29:43.505: 00:40:96:b5:db:d7 Ignoring assoc request due to mobile in exclusion list or

marked for deletion

Association – Blacklisted

31

Page 32: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Client States- Walkthrough

32

Association (Start)

L2 Authentication (8021X_REQD)

Client Address Learning (DHCP_REQD)

L3 Authentication (WEBAUTH_REQD)

Client Fully Connected (RUN)

Deauth/Disassoc

Page 33: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

PSK authentication

Probe Request

Probe Response

Auth Request

Auth Response

Association Request

Association Response

EAPoL 4 way Exchange

DATA

AP WLC Radius

33

Page 34: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

*apfMsConnTask_1: Dec 16 15:30:14.920: 00:40:96:b5:db:d7 Association received from mobile on BSSID f8:4f:57:a1:d8:aa

*apfMsConnTask_1: Dec 16 15:30:14.921: 00:40:96:b5:db:d7 Sending Assoc Response to station on BSSID f8:4f:57:a1:d8:aa (status 0)

*spamApTask3: Dec 16 15:30:14.923: 00:40:96:b5:db:d7 Sent 1x initiate message to multi thread task for mobile 00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.924: 00:40:96:b5:db:d7 Initiating RSN PSK to mobile 00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.924: 00:40:96:b5:db:d7 dot1x - moving mobile 00:40:96:b5:db:d7 into Force Auth state

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.924: 00:40:96:b5:db:d7 Starting key exchange to mobile 00:40:96:b5:db:d7, data packets will be

dropped

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.924: 00:40:96:b5:db:d7 Sending EAPOL-Key Message to mobile 00:40:96:b5:db:d7

state INITPMK (message 1), replay counter 00.00.00.00.00.00.00.00

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.929: 00:40:96:b5:db:d7 Received EAPOL-Key from mobile 00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.929: 00:40:96:b5:db:d7 Ignoring invalid EAPOL version (1) in EAPOL-key message from mobile

00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.929: 00:40:96:b5:db:d7 Received EAPOL-key in PTK_START state (message 2) from mobile

00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.929: 00:40:96:b5:db:d7 Stopping retransmission timer for mobile 00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.929: 00:40:96:b5:db:d7 Sending EAPOL-Key Message to mobile 00:40:96:b5:db:d7

state PTKINITNEGOTIATING (message 3), replay counter 00.00.00.00.00.00.00.01

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.934: 00:40:96:b5:db:d7 Received EAPOL-Key from mobile 00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.934: 00:40:96:b5:db:d7 Ignoring invalid EAPOL version (1) in EAPOL-key message from mobile

00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.934: 00:40:96:b5:db:d7 Received EAPOL-key in PTKINITNEGOTIATING state (message 4) from

mobile 00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.934: 00:40:96:b5:db:d7 Stopping retransmission timer for mobile 00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:30:14.934: 00:40:96:b5:db:d7 0.0.0.0 8021X_REQD (3) Change state to L2AUTHCOMPLETE (4) last state

8021X_REQD (3)

PSK – Successful

34

Page 35: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

*apfMsConnTask_1: Dec 16 15:25:28.923: 00:40:96:b5:db:d7 Association received from mobile on BSSID f8:4f:57:a1:d8:aa

..

*apfMsConnTask_1: Dec 16 15:25:28.925: 00:40:96:b5:db:d7 Sending Assoc Response to station on BSSID f8:4f:57:a1:d8:aa (status 0)

ApVapId 6 Slot 1

*spamApTask3: Dec 16 15:25:28.927: 00:40:96:b5:db:d7 Sent 1x initiate message to multi thread task for mobile 00:40:96:b5:db:d7

..

*Dot1x_NW_MsgTask_7: Dec 16 15:25:28.927: 00:40:96:b5:db:d7 Starting key exchange to mobile 00:40:96:b5:db:d7, data packets will

be dropped

*Dot1x_NW_MsgTask_7: Dec 16 15:25:28.933: 00:40:96:b5:db:d7 Received EAPOL-Key from mobile 00:40:96:b5:db:d7

config cl;d*Dot1x_NW_MsgTask_7: Dec 16 15:25:28.933: 00:40:96:b5:db:d7 Ignoring invalid EAPOL version (1) in EAPOL-key message

from mobile 00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:25:28.933: 00:40:96:b5:db:d7 Received EAPOL-key in PTK_START state (message 2) from mobile

00:40:96:b5:db:d7

*Dot1x_NW_MsgTask_7: Dec 16 15:25:28.933: 00:40:96:b5:db:d7 Received EAPOL-key M2 with invalid MIC from mobile

00:40:96:b5:db:d7 version 2

*osapiBsnTimer: Dec 16 15:25:30.019: 00:40:96:b5:db:d7 802.1x 'timeoutEvt' Timer expired for station 00:40:96:b5:db:d7 and for

message = M2

*dot1xMsgTask: Dec 16 15:25:32.019: 00:40:96:b5:db:d7 Retransmit failure for EAPOL-Key M1 to mobile 00:40:96:b5:db:d7, retransmit

count 3, mscb deauth count 2

..

*dot1xMsgTask: Dec 16 15:25:32.020: 00:40:96:b5:db:d7 Sent Deauthenticate to mobile on BSSID f8:4f:57:a1:d8:a0 slot 1(caller

1x_ptsm.c:570)

*dot1xMsgTask: Dec 16 15:25:32.020: 00:40:96:b5:db:d7 Scheduling deletion of Mobile Station: (callerId: 57) in 10 seconds

PSK – Wrong secret

35

Page 36: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Client States- Walkthrough

36

Association (Start)

L2 Authentication (8021X_REQD)

Client Address Learning (DHCP_REQD)

L3 Authentication (WEBAUTH_REQD)

Client Fully Connected (RUN)

Deauth/Disassoc

Page 37: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Client DHCP

37

Client is in DHCP_REQD state

Proxy Enabled:

DHCP Relay/Proxy

Between WLC and Server

Required for Internal DHCP

Proxy Disabled:

Between Client and Server

DHCP is broadcast out VLAN

IP helper or other means required

Client State = “DHCP_REQD“

DHCP Proxy Enabled

Client DHCP Discover

Unicast to DHCP Servers

DHCP Offer from Server

DHCP ACK from Server

IP Address Learned

Client DHCP Request

DHCP Proxy Disabled

Client DHCP Discover Is

Bridged to DS

Address Learned!

Page 38: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

DHCP received op BOOTREQUEST (1) (len 308,vlan 5, port 1, encap 0xec03) DHCP (encap type 0xec03) mstype 0ff:ff:ff:ff:ff:ff DHCP selected relay 1 - 192.168.50.1 (local address 192.168.50.15, gateway 192.168.50.1, VLAN 50, port 1) DHCP transmitting DHCP DISCOVER (1) DHCP op: BOOTREQUEST, htype: Ethernet, hlen: 6, hops: 1 DHCP xid: 0xa504e3 (10814691), secs: 0, flags: 0 DHCP chaddr: 68:7f:74:75:f1:cd DHCP ciaddr: 0.0.0.0, yiaddr: 0.0.0.0 DHCP siaddr: 0.0.0.0, giaddr: 192.168.50.15 DHCP sending REQUEST to 192.168.50.1 (len 350, port 1, vlan 50)

DHCP – Discover + Offer

38

DHCP received op BOOTREPLY (2) (len 308,vlan 50, port 1, encap 0xec00) DHCP setting server from OFFER (server 192.168.0.21, yiaddr 192.168.50.101) DHCP sending REPLY to STA (len 418, port 1, vlan 5) DHCP transmitting DHCP OFFER (2) DHCP op: BOOTREPLY, htype: Ethernet, hlen: 6, hops: 0 DHCP xid: 0xa504e3 (10814691), secs: 0, flags: 0 DHCP chaddr: 68:7f:74:75:f1:cd DHCP ciaddr: 0.0.0.0, yiaddr: 192.168.50.101 DHCP siaddr: 0.0.0.0, giaddr: 0.0.0.0 DHCP server id: 1.1.1.1 rcvd server id: 192.168.0.21 DHCP received op BOOTREQUEST (1) (len 335,vlan 5, port 1, encap 0xec03) DHCP (encap type 0xec03) mstype 0ff:ff:ff:ff:ff:ff

Page 39: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

DHCP selected relay 1 - 192.168.0.21 (local address 192.168.50.15, gateway 192.168.50.1, VLAN 50, port 1) DHCP transmitting DHCP REQUEST (3) DHCP op: BOOTREQUEST, htype: Ethernet, hlen: 6, hops: 1 DHCP xid: 0xa504e3 (10814691), secs: 0, flags: 0 DHCP chaddr: 68:7f:74:75:f1:cd DHCP ciaddr: 0.0.0.0, yiaddr: 0.0.0.0 DHCP siaddr: 0.0.0.0, giaddr: 192.168.50.15 DHCP requested ip: 192.168.50.101 DHCP server id: 192.168.0.21 rcvd server id: 1.1.1.1 DHCP sending REQUEST to 192.168.50.1 (len 374, port 1, vlan 50) DHCP received op BOOTREPLY (2) (len 312,vlan 50, port 1, encap 0xec00) 192.168.50.101 DHCP_REQD (7) Change state to WEBAUTH_REQD (8) last state DHCP_REQD (7) 192.168.50.101 WEBAUTH_REQD (8) pemAdvanceState2 6662, Adding TMP rule 192.168.50.101 WEBAUTH_REQD (8) Replacing Fast Path rule type = Airespace AP Client - ACL passthru on AP 04:da:d2:4f:f0:50, slot 0, interface = 1, QOS = 0 IPv4 A Plumbing web-auth redirect rule due to user logout Assigning Address 192.168.50.101 to mobile

DHCP – Request - ACK

39

Page 40: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

DHCP transmitting DHCP REQUEST (3) DHCP op: BOOTREQUEST, htype: Ethernet, hlen: 6, hops: 1 DHCP xid: 0xf3a2fca6 (4087544998), secs: 3, flags: 0 DHCP chaddr: d0:b3:3f:33:1c:88 DHCP ciaddr: 0.0.0.0, yiaddr: 0.0.0.0 DHCP siaddr: 0.0.0.0, giaddr: 10.87.193.2 DHCP requested ip: 10.65.8.177 DHCP sending REQUEST to 10.87.193.1 (len 374, port 1, vlan 703) DHCP selecting relay 2 - control block settings: dhcpServer: 0.0.0.0, dhcpNetmask: 0.0.0.0, dhcpGateway: 0.0.0.0, dhcpRelay: 10.87.193.2 VLAN: 703 DHCP selected relay 2 - NONE DHCP received op BOOTREPLY (2) (len 308,vlan 703, port 1, encap 0xec00) DHCP sending REPLY to STA (len 402, port 1, vlan 701) DHCP transmitting DHCP NAK (6) DHCP op: BOOTREPLY, htype: Ethernet, hlen: 6, hops: 0 DHCP xid: 0xf3a2fca6 (4087544998), secs: 0, flags: 8000 DHCP chaddr: d0:b3:3f:33:1c:88 DHCP ciaddr: 0.0.0.0, yiaddr: 0.0.0.0 DHCP siaddr: 0.0.0.0, giaddr: 0.0.0.0 DHCP server id: 1.1.1.1 rcvd server id: 10.65.8.1

DHCP – Rejected

40

Page 41: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Client States- Walkthrough

41

Association (Start)

L2 Authentication (8021X_REQD)

Client Address Learning (DHCP_REQD)

L3 Authentication (WEBAUTH_REQD)

Client Fully Connected (RUN)

Deauth/Disassoc

Page 42: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Webauth Typical problems

42

No DNS resolution

No default GW

Client doing request on different port

– No HTTPS, or using 8000, etc.

No Preauth-ACL

– Server IP must be allowed on the preauth ACL … otherwise, loop!

Untrusted Cert

Additional debug needed

– debug web-auth redirect enable mac XX

Page 43: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Client States- Walkthrough

43

Association (Start)

L2 Authentication (8021X_REQD)

Client Address Learning (DHCP_REQD)

L3 Authentication (WEBAUTH_REQD)

Client Fully Connected (RUN)

Deauth/Disassoc

Page 44: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

*dot1xMsgTask: Nov 05 14:35:11.838: 2c:54:2d:ea:e7:aa 10.253.42.45 RUN (20) Reached PLUMBFASTPATH: from line 6076Nov 5 *dot1xMsgTask: Nov 05 14:35:11.838: 2c:54:2d:ea:e7:aa 10.253.42.45 RUN (20) Adding Fast Path rule *dot1xMsgTask: Nov 05 14:35:11.838: 2c:54:2d:ea:e7:aa 10.253.42.45 RUN (20) Fast Path rule (contd...) 802.1P = 5, DSCP = 0, TokenID = 15206 Local Bridging Vlan = 101, Local Bridging intf id = 18 *dot1xMsgTask: Nov 05 14:35:11.841: 2c:54:2d:ea:e7:aa 10.253.42.45 RUN (20) Successfully plumbed mobile rule (IPv4 ACL ID 255, IPv6 ACL ID 255)Nov 5 14:35:13 btwlc01 BTWLC01 *pemReceiveTask: Nov 05 14:35:11.842: 2c:54:2d:ea:e7:aa 10.253.42.45 Added NPU entry of type 1, dtlFlags 0x0

RUN status

44

RUN means: client has completed all required policy states

“Type 1” is the goal

Page 45: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Client States- Walkthrough

45

Association (Start)

L2 Authentication (8021X_REQD)

Client Address Learning (DHCP_REQD)

L3 Authentication (WEBAUTH_REQD)

Client Fully Connected (RUN)

Deauth/Disassoc

Page 46: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Deauthenticated Client

46

Idle Timeout

Occurs after no traffic received from Client at AP

Default Duration is 300 seconds

Session Timeout Occurs at scheduled duration (default 1800 seconds)

Received Idle-Timeout from AP 00:26:cb:94:44:c0, slot 0 for STA 00:1e:8c:0f:a4:57

apfMsDeleteByMscb Scheduling mobile for deletion with deleteReason 4, reasonCode 4

Scheduling deletion of Mobile Station: (callerId: 30) in 1 seconds

apfMsExpireCallback (apf_ms.c:608) Expiring Mobile!

Sent Deauthenticate to mobile on BSSID 00:26:cb:94:44:c0 slot 0(caller apf_ms.c:5094)

apfMsExpireCallback (apf_ms.c:608) Expiring Mobile!

apfMsExpireMobileStation (apf_ms.c:5009) Changing state for mobile 00:1e:8c:0f:a4:57 on

AP 00:26:cb:94:44:c0 from Associated to Disassociated

Scheduling deletion of Mobile Station: (callerId: 45) in 10 seconds

apfMsExpireCallback (apf_ms.c:608) Expiring Mobile!

Sent Deauthenticate to mobile on BSSID 00:26:cb:94:44:c0 slot 0(caller apf_ms.c:5094)

Page 47: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Deauthenticated Client

47

Retransmit failure for EAPOL-Key M3 to mobile 00:1e:8c:0f:a4:57, retransmit count 3, mscb deauth

count 0

Sent Deauthenticate to mobile on BSSID 00:26:cb:94:44:c0 slot 0(caller 1x_ptsm.c:534)

Authentication Timeout

Auth or Key Exchange max-retransmissions reached

Cleaning up state for STA 00:1e:8c:0f:a4:57 due to event for AP 00:26:cb:94:44:c0(0)

apfSendDisAssocMsgDebug (apf_80211.c:1855) Changing state for mobile

00:1e:8c:0f:a4:57 on AP 00:26:cb:94:44:c0 from Associated to Disassociated

Sent Disassociate to mobile on AP 00:26:cb:94:44:c0-0 (reason 1, caller apf_ms.c:4983)

AP Radio Reset (Power/Channel)

AP disasassociates clients but WLC does not delete entry

Page 48: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Deauthenticated Client

48

*dot1xMsgTask: Oct 22 15:32:49.863: 24:77:03:c2:8a:20 Key exchange done, data packets from mobile 24:77:03:c2:8a:20 should be forwarded shortly *dot1xMsgTask: Oct 22 15:32:49.863: 24:77:03:c2:8a:20 Sending EAPOL-Key Message to mobile 24:77:03:c2:8a:20 *osapiBsnTimer: Oct 22 15:32:51.056: 24:77:03:c2:8a:20 802.1x 'timeoutEvt' Timer expired for station 24:77:03:c2:8a:20 and for message = M5*dot1xMsgTask: Oct 22 15:32:51.056: 24:77:03:c2:8a:20 Retransmit 1 of EAPOL-Key M5 (length 131) for mobile 24:77:03:c2:8a:20*osapiBsnTimer: Oct 22 .. *dot1xMsgTask: Oct 22 15:32:53.056: 24:77:03:c2:8a:20 Retransmit failure for EAPOL-Key M5 to mobile 24:77:03:c2:8a:20, retransmit count 3, mscb deauth count 0 *dot1xMsgTask: Oct 22 15:32:53.056: 24:77:03:c2:8a:20 Sent Deauthenticate to mobile on BSSID 20:3a:07:e4:c8:f0 slot 0(caller 1x_ptsm.c:570)

Failed Broadcast key rotation

Page 49: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Roaming and Mobility

Page 50: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Layer 2 roaming

50

Layer 2 roams occur when you move between WLCs and both WLCs have connectivity to the same client subnets. In this case, the client database entry is simply moved to the new WLC.

Page 51: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Debug Client <Mac Address>

Debug Mobility Handoff Enable

MobileAnnounce

MobileHandoff

Mobility— L2 Inter WLC

51

Page 52: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Mobility – Typical Problems

Misconfiguration

– Wrong policy set *mmListen: Jan 03 12:03:36.613: 68:7f:74:75:f1:cd Adding mobile on Remote AP 00:00:00:00:00:00(0)

*mmListen: Jan 03 12:03:36.613: 68:7f:74:75:f1:cd mmAnchorExportRcv:, Mobility role is Unassoc

*mmListen: Jan 03 12:03:36.614: 68:7f:74:75:f1:cd mmAnchorExportRcv Ssid=webauth Security Policy=0x2050

*mmListen: Jan 03 12:03:36.614: 68:7f:74:75:f1:cd mmAnchorExportRcv: WLAN webauth policy mismatch between controllers, WLAN webauth not found, or WLAN disabled. Ignore ExportAnchor mobility msg. Delete client.

– Wrong IP/MAC/Mobility name

52

Page 53: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

IOS XE / Converged Access Troubleshooting

53

Page 54: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

IOS XE - Traces vs Debugs

Traces are not displayed on console/terminal, but stored in a circular buffer

Traces are “always-on”, you can change the level and filtering options

Traces are less impactful on system performance

Traces are preferred for troubleshooting wireless issues!

54

Page 55: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Using Traces

Set the trace level to debug for the trace we want to collect

– To turn off the trace debugging, set the level back to default

Set and remove the filter for the MAC address

55

3850-1#set trace capwap ap event level debug

debug Debug-level messages (7)

default Unset Trace Level Value

err Error conditions (3)

info Informational (6)

warning Warning conditions (4)

3850-1#set trace capwap ap event filter mac xxxx.xxxx.xxxx

3850-1#set trace capwap ap event filter mac yyyy.yyyy.yyyy

3850-1#set trace capwap ap event filter none

Adding multiple addresses to the filter list

Page 56: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Using Traces

To view unfiltered output:

– show trace message <feature>

To view filtered output:

– show trace sys-filtered-traces

– show trace messages <feature> filtered

Several macros are available to enable sets of traces, example:

– set trace group-wireless-secure level debug

Clear a trace

– set trace control <feature> clear

Redirect the output to a file for easier offline analysis:

– show trace message <feature> | redirect tftp:…

– show trace message <feature> | tee tftp:…

56

3.3+

File only

Console + File

Feature list: show trace all-buffer settings

Page 57: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Getting Started

Before a client can join, basics must be covered:

Licensing setup

Establish mobility relationships

Have APs to join the controllers

57

Page 58: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Mobility Troubleshooting Traces and Debugs

58

set trace mobility handoff level debug set trace mobility keepalive level debug

Traces

Debugs debug mobility keep-alive

debug mobility handoff

debug mobility peer-ip w.x.y.z

debug capwap ios event

debug capwap ios error

MC-MA, or MA-MA

troubleshooting

WLC internal capwap

(WLC to WLC, etc)

Page 59: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Mobility Troubleshooting MA Disconnected

59

5760# debug mobility peer-ip 10.10.20.6

*Oct 9 20:27:43.564: %IOSXE-7-PLATFORM: 1 process wcm: A unsolicited configdownload

response with subtype 2 sent to MA 10.10.20.6.^M

*Oct 9 20:27:43.564: %IOSXE-7-PLATFORM: 1 process wcm: [679: Configdownload

response MC->MA] to 10.10.20.6:16666

*Oct 9 20:27:43.564: %IOSXE-3-PLATFORM: 1 process wcm: *eicore_ipc: %MM-3-end

CONFIGDOWNLOAD_FAILED: Failed to send a config download response packet sending

packet to 10.10.20.6.

*Oct 9 20:27:44.014: %IOSXE-7-PLATFORM: 1 process wcm: Received keepalive status

change message type:1 ,peer Ip 10.10.20.6

*Oct 9 20:27:44.411: %IOSXE-7-PLATFORM: 1 process wcm: [679: Configdownload

response MC->MA] to 10.10.20.6:16666

*Oct 9 20:27:44.998: %SYS-5-CONFIG_I: Configured from console by console

*Oct 9 20:27:45.403: %IOSXE-7-PLATFORM: 1 process wcm: [679: Configdownload

response MC->MA] to 10.10.20.6:16666

Keepalive status change... To “not responding”

No ACK from MA

Retry

Page 60: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

AP Join Traces and Debugs

60

set trace group-ap level debug set trace group-ap filter mac xxxx.xxxx.xxxx

Traces

Debugs debug capwap ap events

debug capwap ap error

Note: No filter functionality

Page 61: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

AP Join Troubleshooting

Is the MA configured to talk with an MC?

Licensing

61

[12/30/13 03:17:36.802 UTC f0e9 8531] 0026.cbd2.6750 License is denied for the AP,

calling the AP reset

[12/30/13 03:17:36.802 UTC f0ea 8531] 0026.cbd2.6750 Reset request sent to

192.168.151.13:44356

[12/30/13 03:17:36.802 UTC f0eb 8531] 0026.cbd2.6750 License check failed: License

is denied for the AP, calling the AP reset

Page 62: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

AP Join Troubleshooting

Verify: 3850-2#show wireless country configured Configured Country.............................: US - United States

Fix: 3850-2(config)#ap country ? WORD Enter the country code (e.g. US,MX,IN) up to a maximum of 20 countries

Invalid Country Code

62

*Dec 16 08:33:12.790: *%LWAPP-3-RD_ERR8: 1 wcm: Country code (ES ) not configured

for AP 18:ef:63:9b:f9:d0

*Dec 16 08:33:12.791: *%LOG-3-Q_IND: 1 wcm: Country code (ES ) not configured for

AP 18:ef:63:9b:f9:d0

*Dec 16 08:33:12.792: *%LWAPP-3-VALIDATE_ERR: 1 wcm: Validation of SPAM Vendor

Specific Payload failed - AP 18:ef:63:9b:f9:d0

*Dec 16 08:33:12.793: *%LOG-3-Q_IND: 1 wcm: Validation of SPAM Vendor Specific

Payload failed - AP 18:ef:63:9b:f9:d0

*Dec 16 08:33:12.793: *%LWAPP-3-RD_ERR8: 1 wcm: Country code (ES ) not configured

for AP 18:ef:63:9b:f9:d0

*Dec 16 08:33:12.793: *%LWAPP-3-RD_ERR4: 1 wcm: Invalid regulatory domain

802.11bg:-A 802.11a:-A for AP 18:ef:63:9b:f9:d0

Must shutdown 2.4 and 5

Page 63: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

AP Join Troubleshooting - 3850 APs must be in Wireless Management VLAN

63

Oct 9 12:57:45.362: %IOSXE-7-PLATFORM: 1 process wcm: 64D9.8946.CA30 Received a

Discovery Request from 64:d9:89:46:ca:30 on an unsupported VLAN 1.

srcIp(172.29.129.178), dstIp(10.10.20.2) Dropping the discovery request. AP will not

be able to join as it is on a different vlan than management or AP manager vlan

Oct 9 12:57:45.362: %IOSXE-7-PLATFORM: 1 process wcm: 64D9.8946.CA30 Unable to

process Discovery Request from 64d9.8946.ca30 due to missing AP Manager interface,

discovery request received on interface 65535 vlanId 1 srcIp(172.29.129.178)

dstIp(255.255.255.255)

Oct 9 12:57:45.363: %IOSXE-3-PLATFORM: 1 process wcm: *spamApTask0: %CAPWAP-3-

DISC_WIRELESS_INTERFACE_ERR1: Unable to process discovery request from AP

64d9.8946.ca30 , VLAN (1) scrIp (172.29.129.178) dstIp(255.255.255.255), could not

get wireless interface belonging to this network

Verify: 3850-2#show wireless interface summary Interface Name Interface Type VLAN ID IP Address IP Netmask MAC Address

--------------------------------------------------------------------------------

Vlan151 Management 151 192.168.151.12 255.255.255.0 44ad.d96c.77cd

Fix: 3850-2(config)#interface gi1/0/1

3850-2(config-if)#switchport access vlan 151

Page 64: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

AP Join Troubleshooting - 5760

Certificate Validation

64

Jan 1 12:14:04.539: %IOSXE-7-PLATFORM: 1 process wcm: 64D9.8946.B640 Discovery

Request from 10.10.22.31:9618

Jan 1 12:14:04.539: %IOSXE-7-PLATFORM: 1 process wcm: 64D9.8946.B640 Join Priority

Processing status = 0, Incoming Ap's Priority 0, MaxLrads = 1000, joined Aps =0

Jan 1 12:14:04.539: %IOSXE-7-PLATFORM: 1 process wcm: 64D9.8946.B640 Validated

Discovery request with dest ip : 10.10.21.3 from AP 10.10.22.31. Response to be

sent using ip : 10.10.21.3

Jan 1 12:14:14.551: %IOSXE-3-PLATFORM: 1 process wcm: *spamApTask1: %DTLS-3-

HANDSHAKE_FAILURE: Failed to complete DTLS handshake with peer 10.10.22.31 Reason:

sslv3 alert bad certificate

5760#show clock

12:20:27.298 UTC Mon Jan 1 2001

AP on different subnet,

no problem so far...

Fix: 3850-2#clock set …

3850-2(config)#ntp server …

NTP!

Page 65: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Wireless Client Details Client information maintained in 3 main processes

WCM – show wireless client mac-address xxxx.xxxx.xxxx

detail

– show wireless client username <username>

IOSd WCDB – show wcdb database all

– show wcdb database xxxx.xxxx.xxxx

Platform (FED) – show platform wcdb summary

– show platform wcdb clientIndex <client-index> summary

Kernel ASIC driver

IOSd

Forwarding Infrastructure

WCM

Common Management

Hardware

Session Manager

(SM)

802.1x

EPM

QoS ACL

WCDB

DHCP ARP

65

Page 66: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

Client Troubleshooting Traces and Debugs

66

set trace group-wireless-client filter mac xxxx.xxxx.xxxx set trace group-wireless-client level debug set trace group-wireless-secure filter mac xxxx.xxxx.xxxx set trace group-wireless-secure level debug

Traces

Debugs debug client mac-address xxxx.xxxx.xxxx

debug wcm-dot1x trace

debug wcm-dot1x event

debug wcm-dot1x error

Open auth

L2 auth (3.3SE+)

Page 67: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

When Traces Aren’t Enough Wireshark Support

67

Version 3.3 introduced the ability to capture traffic on a switch port and store it in a buffer:

– Remote packet capture capability

– Traffic can be uploaded off of flash and decoded in Wireshark!

c5760-1# monitor capture mycap interface Te1/0/1 both c5760-1# monitor capture mycap match ipv4 any any c5760-1# monitor capture mycap file location flash:<filename> buffer-size <MB> c5760-1# monitor capture mycap limit packets 100 c5760-1# show monitor capture mycap c5760-1# monitor capture mycap start

Interface/IF range,

NO Port-channel

Match statement

Location: flash or usb

on the active device optional

Verify capture settings

Start the capture!

Page 68: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Cisco and/or its affiliates. All rights reserved. TECH-WLAN P6 / L3 Cisco Public

IOS XE Useful Commands

68

show tech-support wireless

– To be provided when opening a TAC Case, equivalent to a “show run-config” from CUWN

show run all | section <>

– Useful for viewing default settings

– Recommended to use with output modifier

show wireless client summary

– Shows all clients connected on the current MA/MC, it will list the AP name and frequency, or the IP address of the anchor location

show wcdb database all

– This will output all of the clients, along with the VLAN, IP address, and mobility state

Page 69: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Prosíme, ohodnoťte tuto přednášku

• Děkujeme

Page 70: TECH-WLAN Návrh a Řešení problémů v bezdrátových sítích ... · AP Packet Capture 7.3 and higher, It works during normal operation AP redirect of traffic sent/received by

Recommended