How to add a NAD device to CPPM?
Navigate to Configuration > Network > Devices
Click Add Device
Add the device as shown below
![rtaImage.jpg rtaImage.jpg](https://higherlogicdownload.s3.amazonaws.com/HPE/MigratedInlineFiles/803699456b8c4c28bda6e9fe8d35cea2_4101c7052eea4bc6b8efb1e468f91c06)
Hit Save to add the device.
Now, Say we have multiple devices in different/same subnet which needs to be added to CPPM. This can be achieved in one single step by using the XML file.
How to download a Sample XML file?
Navigate to Configuration > Network > Devices and select an already added device and hit "Export".
![rtaImage (1).jpg rtaImage (1).jpg](https://higherlogicdownload.s3.amazonaws.com/HPE/MigratedInlineFiles/803699456b8c4c28bda6e9fe8d35cea2_6be6c9d3e0974676847b6bb87d02df79)
The Sample XML file would be similar to below snippet.
---------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TipsContents xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
<TipsHeader exportTime="Tue Sep 17 20:32:16 IST 2013" version="6.2"/>
<NadClients>
<NadClient description="" name="10.30.156.140" coaPort="3799" coaCapable="true" vendorName="Aruba" tacacsSecret="" radiusSecret="" ipAddress="10.30.156.140"/>
</NadClients>
</TipsContents>
----------------------------------------
Compare the string in bold with the below screen shot.
![rtaImage (2).jpg rtaImage (2).jpg](https://higherlogicdownload.s3.amazonaws.com/HPE/MigratedInlineFiles/803699456b8c4c28bda6e9fe8d35cea2_2a9935c0c4ac4ab7bb88a0a64fc72376)
We can input the Name, Description, IP, Radius Secret along with other fields in the screen above in the XML file.
Below is a sample XML file which would add ONE device to CPPM.
---------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TipsContents xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
<TipsHeader exportTime="Tue Sep 17 20:32:16 IST 2013" version="6.2"/>
<NadClients>
<NadClient description="Aruba C0ntroller" name="Lab Controller" coaPort="3799" coaCapable="true" vendorName="Aruba" tacacsSecret="aruba" radiusSecret="aruba" ipAddress="10.30.156.150"/>
</NadClients>
</TipsContents>
-----------------------------------------------------------------------------------
The above XML file would add an Aruba Device with the below details.
Description -> Aruba Controller
Name -> Lab Controller
COA port -> 3799 and COA is enabled
Vendor -> Aruba ( We can use different vendor names like Cisco for Cisco device or a generic IETF for any device)
Tacacs Secret -> Your Tacacs key which would be configured on the end device.
Radius Secret -> Your Radius key which would be configured on the end device.
Ip Address -> Ip of the device.
We can make multiple entries for multiple devices making sure that the IP and Tacacs/Radius Keys are properly updated.