Troubleshooting CMX Cloud Connector with WLC 8.3
Connection Issue:
Pre-requiesite - DNS must be configured on WLC to configure CMX cloud
Please run the below command.
(5508-12) >show cloud-services cmx summary
CMX Service
Server ....................................... https://<TLD>.cmxcisco.com
IP Address.................................... ###.###.###.###
Service Status ............................... Enabled
Connectivity.................................. https: Down
Note - If cmx summary does not show service status enabled please follow following workaround step
Validate communication between WLC and CMX Cloud:
Validate communication with CMX Cloud with proper IP configuration
(5508-12) >show nmsp subscription summary
Mobility Services Subscribed:
Server IP Services
--------- --------
128.107.18.125 RSSI, Info, Statistics,
Even after configuring as above if you are still not able to see any statistics on the Cloud UI, you can capture packet logs using the below CLI on the Controller.
(5508-12) > debug nmsp https connection enable
*nmspRxServerTask: Aug 11 05:48:35.987: Bad Payload Len 4 - dropping packet
*nmspTxServerTask: Aug 11 05:48:36.090: Bad Version 2 - dropping packet
*nmspTxServerTask: Aug 11 05:48:36.091: NMSP TX message, length 1601 Msg NMSP_APP_MEAS_NOTIFY_MSG, Sent Status: Success
*nmspTxServerTask: Aug 11 05:48:36.092: 00000000: 00 00 00 00 00 00 00 06 38 00 0f 98 00 00 64 00 ........8.....d.
*nmspTxServerTask: Aug 11 05:48:36.092: 00000010: 05 01 00 00 00 01 00 02 00 02 10 00 00 06 00 03 ................
*nmspTxServerTask: Aug 11 05:48:36.092: 00000020: 00 19 00 00 01 00 06 04 69 f8 dc 9b d3 00 1c 00 ........i.......
*nmspTxServerTask: Aug 11 05:48:36.092: 00000030: 01 80 00 04 00 35 04 58 97 bd 83 a9 a0 80 00 c5 .....5.X........
*nmspTxServerTask: Aug 11 05:48:36.092: 00000040: 00 00 00 86 58 97 bd 83 a9 a0 80 01 cc 00 00 00 ....X...........
*nmspTxServerTask: Aug 11 05:48:36.092: 00000050: 86 58 97 bd 83 a9 a0 89 00 cf 00 00 00 86 58 97 .X............X.
*nmspTxServerTask: Aug 11 05:48:37.755: Http Post URL https://data.cmxcisco.com/networkdata?jwttoken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRJZCI6Imhzdnc4YSJ9.pRXn2xXN8LDr9EMi4D-gXOHIlxO2thdWcqxsiJlYiGI&route=hsvw8a.cmxc
The messages like "Bad Payload Len 4 - dropping packet" and "Bad Version 2 - dropping packet" "connection failed: Error" relate to connection issues.
508-12) >show nmsp statistics connection
NMSP Connection Counters
128.107.18.125
Connection status: UP
Tx message count Rx message count
---------------- ----------------
WLC Capability: 1 MSE Capability: 0
Service Subscr Rsp: 5 Service Subscr Req: 5
Measure Rsp: 0 Measure Req: 0
Measure Notify: 0
Info Rsp: 0 Info Req: 0
Info Notify: 0
Stats Rsp: 0 Stats Req: 0
Stats Notify: 0
Loc Req: 0 Loc Rsp: 0
Loc Subscr Req: 0 Loc Subscr Rsp: 0
Loc Notify: 0
Loc Unsubscr Req: 0 Loc Unsubscr Rsp: 0
AP Monitor Rsp: 0 AP Monitor Req: 0
--More-- or (q)uit
AP Info Rsp: 0 AP Info Req: 0
AP Monitor Notify: 0
IDS Get Rsp: 0 IDS Get Req: 0
IDS Notif: 0
IDS Set Rsp: 0 IDS Set Req: 0
Try running the above command multiple times in 5-10 seconds interval to check if the counters are increasing(Measure Notify).
(5508-12) >show nmsp status
MSE IP Address Echo Resp Echo Req Tx Data Rx Data
-------------- ------------ ----------- ------- -------
128.107.18.125 0 0 6 5
(5508-12) >show cloud-services cmx statistics
CMX Service Statistics
Tx DataFrames :1538
Rx DataFrames :6
Tx HeartBeat Req :101
Heartbeat Timeout :0
Rx Subscr Req :16
Tx DataBytes :61946
Rx DataBytes :27924
Tx HeartBeat Fail :0
Tx Data Fail :0
Tx Conn Fail :0
(5508-12) >show nmsp subscription detail
Mobility Services Subscribed by 128.107.18.125
Services Sub-services
-------- ------------
RSSI Mobile Station,
Info Mobile Station,
Statistics Mobile Station,
Unknown Service 11
Check if DNS is able to resolve:
>test dns url data.cmxcisco.com
Check connectivity to Cloud from WLC by pinging to Cloud IP.Also check if firewall has access to CMX domain(data.cmxcisco.com & cmxcisco.com).
In this case, please reach out the CMX Cloud Support team as follows:
Send email to cmx-cloud-support@external.cisco.com
Raise a ticket at https://support.cmxcisco.com
Call 24x7 at 1877-330-9746
Comments
1 comment
How do you set the DNS on the controller?
EDIT: Found it... in the "Controller" page, but the controller still won't resolve domain names.
Please sign in to leave a comment.