Introduction
This document lists common device (cnPilot, XV and XE APs) onboarding issues seen with cnMaestro (cloud and On-Premises version) and how to troubleshoot these device onboarding issues.
This document is also available as a PDF:
Troubleshooting Access Points Onboarding issue with cnMaestro.pdf (1.1 MB)
Device discovering cnMaestro controller
Device can discover cnMaestro controller by 4 different methods, in the following priority order:
- Static configuration of cnMaestro IP address or host name
- Supplying cnMaestro IP address from DHCP server using DHCP Client Option 43
- Discovering cnMaestro using DNS option 15 i.e.
cnMaestro.<domain-name-supplied-by-dhcp-server>.com
and - Connect to cloud instance of cnMaestro i.e. cloud.cambiumnetworks.com
Usually option 1 to 3 are used when device needs to be managed from On-Premises version of cnMaestro and option 4 is used when device needs to be managed from Cloud instance of cnMaestro. Device communicates using HTTPS protocol to cnMaestro. Device validates cloud cnMaestro server certificate and same will not be validated in case of On-Premises cnMaestro.
Firewall settings on the network
Please note that if firewall is present between device and cnMaestro, we need take care of below 2 network settings,
- Allow HTTPS communication with destination port number 443
- Allow all communication to
*.cloud.cambiumnetworks.com
Basic network settings on device
Before trouble shooting device on boarding issue please ensure below basic networking settings working on device,
-
Device has valid
- IP address
- Gateway IP address
- DNS server address (needed if cnMaestro discovery is based on a host name)
- Domain name
-
Device is able to ping to gateway and DNS servers
-
Device is able to resolve cnMaestro host name from the DNS server
-
Device is able to ping to cnMaestro
Troubleshooting device on boarding using discover method 1
Discovery Method 1: Static configuration of cnMaestro IP address or host name
- Ensure that Firewall settings on the network is correct
- Ensure that Basic network settings on device is correct
Use below CLI to list network parametersshow ip interface brief
cli - to list device IP addressshow ip route
cli - to list device gatewayshow ip name-server
cli - to list DNS servers learned or configuredshow ip dhcp-client-info
cli - to see information learned from the DHCP server
- If cnMaestro is configured using host name, DNS server is reachable and able to resolve DNS query from device
- If the IP address is learned from DHCP server, please ensure that MTU value set on Ethernet interface is set to 1500 bytes, lower MTU can cause HTTPS connection to break
- Device is claimed in cnMaestro and approved from the onboarding queue
Troubleshooting device on boarding using discover method 2
Discovery Method 2: Supplying cnMaestro IP address from DHCP server using DHCP Client Option 43
-
Ensure that Firewall settings on the network is followed
-
Ensure that Basic network settings on device is followed
-
Ensure that device got cnMaestro IP from option 43, we can make use of below CLI to validate the same
XV2-21X-E5386FXconfig)# show ip dhcp-client-info VLAN-1: ------- ip=10.110.200.40 subnet=255.255.255.192 mask=26 router=10.110.200.1 dns=10.110.12.110 10.110.12.111 domain=cambiumnetworks.com vendorspecinfo=10.110.200.99 # device learned from DHCP server through option 43 lease=6777 serverid=10.110.200.11 vendorclass=Cambium-WiFi-AP # Vendor class information (option 60) should also require.
Note: Device learns and uses DHCP server option 43, if it learned from the VLAN interface on which DHCP “Request options all is enabled”. This option is enabled by default on VLAN 1 and same is disabled on all other interfaces by default. It can be enabled only one interface at time.
Also it is important to have option 60 information in DHCP offer, Server must send option 60 information back to client along with option 43. These 2 fields are must for AP to learn cnMaestro URL via option 43.
As AP code check both values while selecting option 43 string for cnMaestro discovery.
If AP don’t find option 60 value in DHCP offer, then AP will look for default URL for connection.
Failure case like this,
No vendor class information (option 60 value) in
show ip dhcp-client-info
XV2-21X-E5386FXconfig)# show ip dhcp-client-info VLAN-1: ------- ip=10.110.200.40 subnet=255.255.255.192 mask=26 router=10.110.200.1 dns=10.110.12.110 10.110.12.111 domain=cambiumnetworks.com vendorspecinfo=10.110.200.99 # device learned from DHCP server through option 43 lease=6777 serverid=10.110.200.11
AP debug logs for failure of URL:
2023-05-22 18:01:45 3487 DISCOVER-CNS-.C: 173: No Static URL Configured 2023-05-22 18:01:45 3487 DISCOVER-CNS-.C: 190: No dhcp 43 Configured
-
If the IP address is learned from DHCP server, please ensure that MTU value set on Ethernet interface is set to 1500 bytes, lower MTU can cause HTTPS connection to break
E600-0BEEFC(config)# show interface brief INTERFACE MAC STATUS SPEED DUPLEX MTU eth1 58-C1-7A-0B-EE-FC UP 1000M FULL 1500 eth2 58-C1-7A-0B-EE-FD DOWN N/A N/A 1500
-
Device is claimed in cnMaestro and approved onboarding option
Troubleshooting device on boarding using discover method 3
Discovery Method 3: DNS option 15
- Ensure that Firewall settings on the network is followed
- Ensure that Basic network settings on device is followed
- DNS server has entry for cnMaestro host record
- Assume that domain name is xyz.com
- Device tries to discover cnMaestro using DNS query
cnmaestro.xyz.com
- DNS server shall have the entry for the host name
cnmaestro.xyz.com
- If the IP address is learned from DHCP server, please ensure that MTU value set on Ethernet interface is set to 1500 bytes, lower MTU can cause HTTPS connection to break
- Device is claimed in cnMaestro and approved on boarding
Troubleshooting device on boarding using discover method 4
Discovery Method 4: using cloud.cambiumnetworks.com
- Ensure that Firewall settings on the network is followed
- Ensure that Basic network settings on device is followed
- Device is able to resolve cnMaestro host name from the DNS server
- If the IP address is learned from DHCP server, please ensure that MTU value set on Ethernet interface is set to 1500 bytes, lower MTU can cause HTTPS connection to break
On device how to see connection status with cnMaestro
From the device dash board status, we shall be able to see cnMaestro connection status
The different states of connection
-
Connecting to
cloud.cambiumnetworks.com
OR
Connecting to<IP Address of On Premises cnMaestro>
-
Device not claimed
Claim the device in cnMaestro
-
Waiting for device approval
Approve the device in cnMaestro
How to get / see device on-boarding logs
- Open UI connection to device IP
- Go to Troubleshoot → Logs → Debug Logs section and press Start Logs button
- Logs messages will be seen Logs window
Example device log for successful cloud connection
successful-cloud-connection.txt (22.3 KB)
Example device log for successful On-Premises connection
successful-onprem-connection.txt (29.0 KB)
Still not able to connect to cnMaestro
Please take AP Techdump and share to Cambium Support / Engineering team
- Open AP UI
- Go to Operations → System → Download Tech Support