Security

Reply
Occasional Contributor I
Posts: 6
Registered: ‎02-19-2013

XML Device import into ClearPass 6.4

Below is an example of my XML file I am using to import devices into ClearPass 6.4.  There are actually over 1k devices in my final script, but this example shows one.  When I try to import, I get the error "Invalid XML tags, please export to see valid tags", which I've tried doing, but everything looks right.  What am I doing wrong?

 

Thanks!

 

 

<?xml version="1.0" encoding="UTF-8" standalone="true"?>
<TipsContents xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
<TipsHeader version="6.4" exportTime="Wed Apr 01 08:54:02 EDT 2015"/>
<NadClients>
<NadClient ipAddress="10.1.0.22" radiusSecret="f0restc1ty" tacacsSecret="f0restc1ty" vendorName="Cisco" coaCapable="true" coaPort="3799" name="Arista-Higbee-7050S-TOR6-G11" description=""/>
</NadClients>
</TipsContents>

 

 

Guru Elite
Posts: 7,852
Registered: ‎09-08-2010

Re: XML Device import into ClearPass 6.4

Try and take out the TIPS header line.

Tim Cappalli | Aruba ClearPass TME
@timcappalli | ACMX #367 / ACCX #480 / ACEAP / CWSP
Occasional Contributor I
Posts: 6
Registered: ‎02-19-2013

Re: XML Device import into ClearPass 6.4

Nope....still the same message. 

"File contains invalid XML tags. Try export to see the valid XML tags."

 

MVP
Posts: 4,018
Registered: ‎07-20-2011

Re: XML Device import into ClearPass 6.4

Can you try changing the format to this:

<NadClients>
<NadClient description="" name="CISCO-SWITCH" coaPort="3799" coaCapable="true" vendorName="Cisco" tacacsSecret="" radiusSecret="" ipAddress="192.168.1.116"/>
</NadClients>
</TipsContents>

Thank you

Victor Fabian
Lead Mobility Engineer @ Integration Partners
AMFX | ACMX | ACDX | ACCX | CWAP | CWDP | CWNA
Occasional Contributor I
Posts: 6
Registered: ‎02-19-2013

Re: XML Device import into ClearPass 6.4

Aarrgh.....no, same thing
New Contributor
Posts: 2
Registered: ‎04-09-2015

Re: XML Device import into ClearPass 6.4

It hates null values.. either put something in the description or remove the description=""

Search Airheads
Showing results for 
Search instead for 
Did you mean: