AAA, NAC, Guest Access & BYOD

How to import device list to CPPM using XML file
This article contains steps for creating and importing a XML file containing information about Devices to CPPM .
 
Environment : This Article is written  for CPPM 6.2.0 and greater.
 

How to add a NAD device to CPPM?

Navigate to Configuration > Network > Devices

Click Add Device

Add the device as shown below

rtaImage.jpg

 

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

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

 

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.

Version History
Revision #:
1 of 1
Last update:
‎07-16-2014 12:27 PM
Updated by:
 
Labels (1)
Contributors
Comments
timchristopher

The article describes how to export and edit a single entry, but what about adding multiple entries in a single XML file?  Also missing are the steps for importing the edited XML file back into ClearPass.  This would be helpful for those who have never tried the procedure.

Guru Elite Guru Elite

It's standard XML. You would just add another <NadClients> entry and close it with </NadClients>

 

You import it under Configuration > Network > Devices

Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.