Manually onboard network devices (alternative method)
Introduction
You can alternatively onboard a network device to IoT OD using the following manual PnP (Plug and Play) method. This is an alternative to using PnP connect with devicehelper.cisco.com, as described in the onboarding quick start guide.
This can be useful if a manual configuration is required for the network connectivity, DHCP (Dynamic Host Control Protocol) is not available, or any other reason why you would not be able to use the automatic PnP agent.
Requirements
- Basic Cisco IOS configuration knowledge.
- Understanding of the PnP process and the IoT Operations Dashboard.
- Access to an IoT Operations Dashboard organization (tenant).
- A device that is compatible with the IoT Operations Dashboard.
- The example in this document uses an IR829 network device as to connect to the IoT Operations Dashboard EU tenant (eu.ciscoiot.com).
- Internet connectivity for the network device.
- Verify the requirements in the Get Started with Operations Dashboard.
Add the network device to the IoT Operations Dashboard
Before you begin, add the device and select a template for it in the IoT Operations Dashboard. See Add and manage network devices for instructions.
Note: You will need the device serial number and PID. Enter show license udi if you are not sure.
Prepare the device
After the device is added to the Operations Dashboard, prepare the device for onboarding.
We recommend starting with an as-minimal-as-possible configuration.
If your device was previously used for another purpose or the IoT Operations Dashboard/Kinetic GMM (Gateway Management Module), revert it to an empty configuration before starting.
To clean up a device that was previously used, use the following steps:
Remove the configuration
Reload the device
Note: Do not save the configuration.
Enter the network config
After the device comes back up, enter the necessary configuration for network connectivity.
For example, when using the L3 GigiabitEthernet0 interface with an SFP:
Or if you want to use one of the L2 interfaces on the IR829:
Test the network connection
After configuring the network connectivity, you can optionally test if the device can communicate with the IoT Operations Dashboard.
Note: Since ICMP is disabled on eu.ciscoiot.com and us.ciscoiot.com, you cannot use ping to test the network connection.
A good check is to test the following:
If this is reported as open, you tested:
Import the security certificate
Since HTTPS is used, import the certificate used to verify the device.
- Create a trustpoint:
- Load the certificate chain used by the IoT Operations Dashboard to that trustpoint. Copy the certificate from the Create a Controller Profile instructions.
Start the PNP process manually
After the above steps are complete, create the PNP profile on the device to start the process:
If all goes well, your device will move to the bootstrapping state in the IoT Dashboard. After some time, it should move to the UP state.
See also Monitor network device status.
Verify the onboarding status
On the IR829 console, you will see the following, or similar, messages if all goes well:
Troubleshoot
If PNP is not starting and the device is not moving to bootstrapping in the IoT Operations Dashboard:
- Check connectivity to the IoT Operations Dashboard using the telnet command explained in the article.
- Test HTTPS connectivity using
more https://eu.ciscoiot.com/coreshell/dashboard.
- This should return you the HTML of the login page.
- If this is not working, you can check further by running debug ip http client ?.
- Check the status of PNP:
show pnp task
If the device stays in the bootstrapping state:
- Check the event log on the IoT Operations Dashboard for pointers: Edge Device Manager > Inventory > your device > Event Log.
- Check the status of the CGNA profile on the device:
show cgna profile-state all
- Test connectivity to the URL on the CGNA profile with the same method as explained above.
- Enable debugging for CGNA:
debug cgna logging ?